Add Game Components Classes

New Object Classes for the 18xx game: Railways, Companies, Trains,
Stations, Cities, and Players
Add a script of QUnit JavaScript unit tests for the new component
classes. I will need to add more tests.
Add polyfill for Number.isInteger()