moved files
tests and bugfixes

added tests for all locales.
hreflangs is optional in test case.
logging prints stacktrace on error.