Stop using jsdom

The main library now use regular expressions instead
of using DOM helpers, so it’s not mandatory anymore
to provide a DOM implementation.

This allows to use characters “<” and “&” in templates
(which were escaped by jsom).

Notes: it is now possible to change template markers
by “<%” and “%>”, we may introduce new syntax later.
Fix: Be sure to create directory before to write files
Fix url_to returned URLs
Use (again) EJS to template
browser: Remove unused parameter
server: Put script tag at a better place

Replace "  </body>" by "  <script>...</script>\n</body>"
instead of "  \n<script>...</script></body>"
Preserve line numbers

Errors shown by EJS will have correct line number
Improve conflict finder
Update gulp to 3.7.0
browser: Stop creating embedded function for notifyRendered
Handle partial
Put back OAuth2 login
example: Move signin/change/signup part into footer
Update readme & changelog
Handle bad-token errors

401 errors now trigger a logout, so a bad token
will generate one error then be removed.
Merge branch 'next'

* next:
  Handle bad-token errors
  Update readme & changelog
  example: Move signin/change/signup part into footer
  Put back OAuth2 login
  Handle partial
  browser: Stop creating embedded function for notifyRendered
  Update gulp to 3.7.0
  Improve conflict finder
  Preserve line numbers
  server: Put script tag at a better place
  browser: Remove unused parameter
  Use (again) EJS to template
  Fix url_to returned URLs
  Fix: Be sure to create directory before to write files
  Stop using jsdom
Update changelog