Removed unused parameters from all renderers' updateTicks method
Added method meetLineBoard to Math.Geometry to calculate the points of intersection between a line and the board
Refactored calcStraight to use this method instead.
Refactored calculateTicksCoordinates and all of its helper methods to properly handle Axis types and the anchor property.

* Split calculateTicksCoordinates into multiple private function that handle each of the steps required to create ticks.
* Added Ticks.includeBoundaries attribute that controls whether ticks should be drawn on the line definition points.
* Renamed all _methods by removing _ and instead using the @private tag.
* Refactored _makeLabel and generateLevel into generateLevelText and generateLabel, cleanly separating responsibilities of defining the text and creating an element.
* Refactored tickEndings to use Geometry.meetLineBoard to obtain board intersections.
* Added method calcLineDelimitingPoints to Math.Geometry to obtain the proper delimiting points of a straight, ray or segment within the board boundaries. Used by Ticks.getLowerAndUpperBounds.
Update documentation of Ticks attribute anchor
Improve the isNumber() check
Minor code formatting (mostly jslint complains)
Fixing rendering of infinite ticks.
Updated Geometry.calcLineDelimitingPoints to take into account if the line has infinite ticks, so it calculate the intersection points as the projection of the relevant board vertices as they define the range in the line in which drawn ticks would actually be visible.
Fixing generateFixedTicks to compare against lower and upper bounds with <= >=
The bounds defined by getLowerAndUpperBounds already take into account the includeBoundaries attribute and adjust them appropriately.
Merge fixes submitted by @sebablanco

See #59
Merge
Merge branch 'refactor-ticks'

This merges pull request #59 and fixes #54 and #55.
Optimize tick rendering

This implements a suggestion by @sebablanco in #59
Bug fix and massive performance boost through better caching in Board.getCoordsTopLeftCorner()
Env.getOffset(container) is called now after looking into the cache.
changing some whitespace
experimentally setting minimizeReflow:'all' for themes/gui.js to avoid the flicker bug in iOS after opening the keyboard.
Reduce and correct the calls of text.updateSize()
Fix one type introduce in reducing updateSize() calls.
Try to locate a performance problem
Try to locate the perfomance problem
Update speed