Corrected compiler warning
MODE-1855 Added the 'Namespaced' interface to our public API

ModeShape's implementations of 'javax.jcr.Item' all implement this
new interface. So applications can check and cast a Node or Property
(or Version or VersionHistory) to 'Namespaced' so that these methods
can be called.

Added several unit tests to verify the behavior.