Resource handler completition

Fixed makefile to better support of custom code
SAContext: fixed context creation (independed contextcan not be cleared)
SAResourcePrototype: operations, that add new object into set/another
	object implemented here
Fixed minor issues in SAStorageClass