tests for resource params and prepare_serializer_for_format
order of route creation is important

Fixes #3
Merge branch 'pr/3'
v0.11

 [BUG FIXES]
 - Routes with ':id.:format' were not created properly.  (GH#3, reported by
   garu)

 [STATISTICS]
 - code churn: 4 files changed, 68 insertions(+), 3 deletions(-)