add registration API to ALD class
slightly better output in login.php
remove old registration
implement registration with new API

* separate registration.php
registration: implement 'repeat password'
correctly set page title during registration
use empty array for headers to prevent CURL warning
write code to create user profile

Backend must be configured to have '/create-account'
as POST registration URL.
rebrand registration template with new domain
fix links: use API_URL to form absolute URL
move template to templates folder
fix API URLs
remove obsolete template parameter
Move submodules for clean merge
Merge branch 'master' into registration
revert unrelated whitespace change
register.php: fix syntax errors
fix paths to moved files, fix error reporting
add DOCTYPE
rework form for registration with CSS styling & HTML5