Change URL escaping

See lobid/lodmill#504

* add test
* format code
Merge branch 'master' into issue-lodmill_504-uris-encoding

Conflicts:
	test/tests/ApiTests.java
	test/tests/BrowserTests.java
	test/tests/json-ld-index-data.json
Merge pull request #31 from hbz/issue-lodmill_504-uris-encoding

Change URL escaping