Add const, fix style

Add constants for the values used in several methods.
Fix style (PSR-2) of multilines.
Replace exception: Cookie::$salt is not argument of  Cookie::salt().