remove jank, support sinatra better

now that we depend on active_support, we can remove some jank. While we're at it, remove rails-specific code
Instead of requiring dependency, only exe if defined