Added generic get to Namespace

This is to eliminate the need for explicit casting when retrieving
arguements.

Also, updated the get* (i.e. getString) helper methods to use the
new generic get.