First pass at tracking device pixel ratio.

This has some very rough edges that I'm looking for advice on:
 * The GetDevicePixelRatio script can probably be pulled in better.
 * The extra code to allow variable types as a parameter in teh ga commands.