Add Turbolinks and the jQuery fix for it
Port application layout to HAML (refs: #10341122659286)