able to reset namespace of a last used ID.

add resetNamespace to Container and Storage classes.
reset namespace in option as well. save object to scope using object's namespace.
test resetNamespace and shared scope.
create test for namespace and shared; add Mock classes.
case if $id's value is not an object/option.
add namespace test to the test suites.