introducing database structure for REST authentication tokens

Change-Id: Id09722580a95a148a0d4ef52df9b257d1f6fb141
Refactor user login

So we can authenticate a user without having to issue a cookie.

Add tests for status checking & co.

Change-Id: I44eda5427205751ebc9b0553127fc275fd614278
REST is considered as a SCRIPT

So we avoid to set php session

Change-Id: Ibbaba4147811a3f9f49abeb2376957a5d8468dc0
Merge "Refactor user login" into 5332_REST_authentication_through_tokens
Merge "REST is considered as a SCRIPT" into 5332_REST_authentication_through_tokens
Now we can deal with rest tokens

Change-Id: Ic8eae72f4971d1d3cc3a369e99c40a5d80b60458
Login manager can either authenticate or login

authenticate just check user/password
login, given a user, check status and set it as default current user

Change-Id: I9d4f09700a193bc5d457a7a6627eb99faee49b6a
Add base for Token generation and authentication

Change-Id: I1dd1174c30a32b6a665c110486546c34f313a2fb
Allow cookie based authentication

Change-Id: I757a846b5a7c3ee1b40af6babf352b353b661f7c
Now generates token for a user

Change-Id: If2a656765bf9f96b00c05da57c90c8f0813f7ad1
Merge "Now generates token for a user" into 5332_REST_authentication_through_tokens
Expire old REST tokens using SYSTEM_CHECK

Change-Id: I06fff0a178b6197dc935a99b817107598b88d172
Merge "Expire old REST tokens using SYSTEM_CHECK" into 5332_REST_authentication_through_tokens
Generate the right token

Change-Id: Ib22dd9f1f28a46e5d6f6cc2dd74775f025b98855
Add means to revoke all tokens ofor one user

Change-Id: I155cc6549ddd2ef58da2f74ade225b04344457d8
Ensure all chars of the token are HTTP headers compatible

Change-Id: If3f74d828c9f5d8bfd4cedd1bc592336922abbfa
Cleaning-up token routes to match real routes

Change-Id: Ia4fcfd7765b0a62e7ba67227dc6b4406be8206b5
Adding OPTIONS for token/id

Change-Id: I02c2347fe4d07b0afe9fa69cb2d3e388bbb82649
Update API explorer path

Works with restler-api-explorer-3.0.0.noarch.rpm

Change-Id: Ic0a6c78c76711bb881334f6e946076eaf23d3175
Merge "Update API explorer path" into 5332_REST_authentication_through_tokens