Refactor JXG.Board.getCoordsTopLeftCorner()

This fixes #45 by refactoring the local function getProp() and moving it to the utils/env module.