nil parameter will not panic
Improve error handling
Merge pull request #21 from univedo/dont_panic

Dont panic
allow unmarshaling into a slice with existing values

needed for updating existing values. needs some more refactoring.
refactored Unmarshal
initial implementation of REST's index route
implemented REST GET method
REST api now is a class, uses interface DataSource instead of lambdas
log errors in REST
initial implementation of POST route
add OPTIONS endpoint
respond with created object when POSTing
AddResource now takes an empty struct as first parameter
implemented DELETE
OPTION all the things!
200 -> 204 for OPTIONS
marshalValue -> marshalInto
implemented PUT for updating