Fix bug cannot load css/js for module in megamenu

Change the way rendering megamenu to make it rendered before head
Allow javascript get some less variables value

Push grid variables into body data for javascript use. Example, get
small screen size value by jQuery ('body').data('screen-sm');
detect & add ie version class to html tag
Fix off-canvas toggle on IOS