Changed function signature for CollectionHandler (no more []interface{})
Added a test for NewEndpoint and fixed another
Merge branch 'master' of github.com:goldibex/rest