Merge pull request #13 from Damgaard/master

Don't track internal Webstorm & Vim *~ files.
use correct path for require.js
added runtime checks to surfaceDistR_body intended to help fix github issue #20 ansd #23
Added some doc files and moved all doc files into ./doc/
Update Runtime checks for fixing github issue 20 and 23
added error handling to surfaceDistR_body
Merge branch 'master' of https://github.com/loldrup/rafter
refined error throwing in surfaceDistR
refined error throwing in surfaceDistR... some more
fixed github issue #26
made logging of breaches of the triangle inequality in cons/designs/Surface sensible
enabled line drawing when the triangle inequality fails
maxRecursionDepth now properly spec'ed in a spec file and not in cons/designs/Segmentation
Added documentation on function configuration behavior
In Rafter, some functions take configuration arguments, such as 'debug', and thus they are configurable functions.

All configurable functions must have default values for their configuration options in their home modules' specification, more precicely in the 'conf' object in the JSON-file carrying that specification.

Functions can inherit configuration argument values from their caller. As both the caller and the callee has configuration values, one must precede over the other.

For the 'debug' configuration parameter, the following behavior apply:

Caller function      | Callee function
debug argument given | default debug argument
---------------------+--------+---------
                     |  TRUE  |  FALSE
---------------------+--------+---------
TRUE                 |  TRUE  |  TRUE
FALSE                |  TRUE  |  FALSE
NOT GIVEN            |  TRUE  |  FALSE

Thus it can be seen that TRUE tricles down through function calls while FALSE does not tricle down. Thus the only way to except a function from a preceding TRUE value given by the caller, is to strip away the debug lines in the preceded callee function. Tough luck.
Polished console.log statements
Made sure all console.log statements only runs if the appropriate spec-file has a conf-object stating that debug:true
just about to remove approximationPrecision as an argument to surfaceDistR*
removed approximationPrecision as an argument to surfaceDistR*
polish
and a bug fix