resource-manager: Introduce attribute listener operations
Now each attribute can have 'listener_ops' which consists 'init',
'exit', and 'action', to watch changes for underlying state. Each
operation has a role as below:
- init: allocate resources and register listeners
- exit: deallocate resources and unregister listeners
- action: change attribute values as following listener parameters
'init'/'exit' is called automatically when each attribute interest is
set/unset each, on the other hand, 'action' should be called by each
listener.
Change-Id: Ia2ae47ee1f7bfb42baed4ab6ddb8be545d42cee1
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>