Add px to rem conversion function

Added a standalone rem converter. I refactored the rem mixin as well to take advantage of it.