CSS3 feature detection for transitions without Modernizr.
Found here: http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr