Created a new metafunction, FloatType, which will prevent truncation of the decimal portion of the Length method result. Added GTest unit tests, and converted old unit tests in gfx/2d/unittest/TestPoint.cpp to gtests. Differential Revision: https://phabricator.services.mozilla.com/D208306