Adding support for turbolinks and minor fixes.
Updating server to make it possible to mount as middleware.