Completely crazy bug hunt

Moved lot's of code around to fix import issues. Should be good for now.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Fix hypermedia pagination links

Using Flask's base_url feature, which contains http, already.
Therefore removing the http here.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Merge pull request #21 from TelekomCloud/feature/bugfix-2

Completely crazy bug hunt