Merge pull request #45 from Blopeur/dev

Refactoring and preparing for kobject use heca wide
Merge branch 'dev' of https://github.com/hecatonchire/linux-heca into interface-rework
* added kobject handling for hprocs
* fixed the removal of hproc within task .c , now if we remove the last local hproc the hpsace is also cleaned up
* prepare for ref count use of kobject rater than custom refcount
 moved from manual refcount of hproc to kobject refcounts
Cleaning up the static function change that was refactored by mistake.
 added heca memory region kobject handling
Revert " added heca memory region kobject handling"

This reverts commit eba6efac38289e3ec31baa36f43d09b44ee3f983.
Revert "Cleaning up the static function change that was refactored by mistake."

This reverts commit ee7a8164504b41d7a5bdb3881953d28af572efa7.
Revert " moved from manual refcount of hproc to kobject refcounts"

This reverts commit a2cc30ad6d7b9c1631c6e8cc6cdf96aed6b3bf62.
 cleanup hproc function in order to have a better error handling
use kobject krefs rather than custom refcount for hprocs
* Modified Module creation and destruction in order to do a proper use of
the kobject abstraction

* made sure we remove the kset after we destroy all the kobject it
 contains ( hprocs for hspace and hspace for kset hspaces in main
module

* added a kset to hspace for hprocs so they are easily found in the
 sysfs

=> next stage : add kobject to MR and add mrs kset to hproc
* fixing the task detach cleanup bugs and made it safe
* optimising the cleanup sequence for hspace and hproc
* fixing other bugs in the cleanup sequence
Merge branch 'interface-rework' into dev