bug 1192: White space

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1192: Text changes in the CCA acceptance view

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1192: Store oldlocation for convenience of the user and improve coding
style

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1192: Authentication is done in the previous step so don't set
$_SESSION['profile']['loggedin'] at all, only check it

Also if there was an oldlocation set redirect to it

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug 1192: Do not manually encode URIs, saves a lot of code and ugliness

(and probably little kittens).
Also HTTP headers start with upper case letters

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug-1192: added explanation text