Added build support with RequireJS. More details in readme. Added NodeJS example.
Merge branch 'develop' of https://github.com/Urbanetic/subdiv into develop

* 'develop' of https://github.com/Urbanetic/subdiv:
  Fixed issues with PhantomJS.