Allow Namespace objects to be weak referenced

See the __slots__ documentation for more details:
https://docs.python.org/2/reference/datamodel.html#slots

Signed-off-by: Olivier Monnier <olivier.monnier@intel.com>
Merge pull request #4 from omonnier/master

Allow Namespace objects to be weak referenced