Merge pull request #30 from kamui/content-type

Set content type based on accept header
switch sinatra from classic to modular style
generator defines  Requester#app in test_helpers template
simplify app generator, change template suffix to .tt for Thor