Remove rails dependency and add sinatra support

Hello, guys.

I hate `Rails` and love `Sinatra` so lets made them as optional.

Cheers.