App now better understands SSL

Still a long way from finished, but now analytics (Omniture) understands http and https

Images now understand https

During local development the nginx will now forward the X-Forwarded-Proto header like an ELB does