Restored query file upload through bower
Added the server's init.d script

This was lifted from our Debian server, and we’ll need to use this to
fix the packaging for #51
Added x-forwarded-proto proxy header

We were using this on the server, so it probably had a useful purpose