Float to Integer Fix for 'px' values in Navigator

Also fixes unit tests on Firefox (#332)
Merge remote-tracking branch 'origin/master' into Firefox-Unit-Tests
Merge pull request #384 from msalsbery/Firefox-Unit-Tests

Float to Integer Fix for 'px' String Values in Navigator