[coordinate.js] Import of coordinate.js

Initial import of coordinate.js from https://github.com/vrandezo/valueparser/ already
split up into separate files and with basic errors fixed.

Change-Id: I3dedd1273a1631f9b978258f74cce5ab07b51675