Add custom modernizr js for feature detection

Might be better to separate all the path stuff from the require stuff - they're conceptually different enough.