better error-messages for Graph::resource()

refs #159
changelog
reset namespaces after tests
PSR-4 + Namespaces
updated dependencies
convert test-helper classes to PHP-5.3+ style
tweak class-names in strings
converted HTTP unit-tests to use namespaces
proper registration of literal-classes
namespaced classes for Format, TypeMapper
Converted Literal unit-tests to use namespaces