Update misc.js

add parseUnit function to normalize mm,cm,in,pt,pc to pixels.
res is setted to 96dpi is not real screen resolution dependant.
Update parser.js

Use parseUnit to normalize pt,pc,mm,in,cm to px.
Update parser.js
Update misc.js
Update misc.js

added missing space.
Update misc.js
Merge pull request #1 from asturur/basic-unit-support

Basic unit support