Do not restrict the whole /api folder

Change-Id: Id9417a3c5374a6bb485d232cce8e688c571d4696
Add REST api explorer bootstrap

You need to:
1. install restler 3.0 rc4 in /usr/share/restler-3.0-rc4
2. deploy tuleap-api-explorer.conf.dist file in httpd conf

After restarting httpd, point your browser to /api/explorer/ and you
should see the API Explorer page.

Packaging of those two items will be done in a next step.

Change-Id: I573ccf7230ea2d0b2c58205f2d13c699cc82e7c1
First route that returns a given project in json

- no auth
- only basic info is returned

Change-Id: Idcda77340b9f18f2095ff194d6cd3178f31f0637
Support OPTIONS methods both on /projects and /projects/:id

Change-Id: I7fe29e732c6ce7ffb0532d14970559f74091ea89
Introduce Basic Authentication

Change-Id: I3ed96276bc5d573fedf272dbf1c5011886e774e9
Create fake package core-rest to provide REST Api

The fake package is here to prevent installing the REST component on PHP
5.1.6 since there is a dependency on restler which is PHP 5.3+.

There is no need to create this fake package for RHEL6 as there is no
PHP 5.1.6 on it.

Change-Id: I3d9f5b40000b9d94fa531b0f73ce4f55aceb52ab
Allow plugins to inject resources in the REST API

Nothing really usefull, it is only for the proof of concept.

Change-Id: Ib77300f14e99eee526cf2aeb8a2f0f3fc5428ed3
Do not put the version number in the path.

We do not need it for now

Change-Id: I3b3c083bb10f94f93682fa10b9a7e65fec8f5a0a
Introduce versionning.

Restler versionning only support integers as version number. This does
not conform to what is required in
https://tuleap.net/wiki/index.php?group_id=101&pagename=RESt+API

Furthermore default routing serves the oldest revision instead
of the newest one. Example /api/projects should serves /api/v2/projects
instead of /api/v1/projects. By the way I think that instead of
transparent serving, the api should redirect the user (no duplicate
content for two different uri).

Change-Id: Ia937592d08abb30255a05262ba6b38ef91869784
Restrict the Tuleap REST API to HTTPS protocol

Change-Id: I420231a2d1020698851e05a146512285197aca8f
Check that user can access the project

Change-Id: I451cb4708f470e214ea1f0ccc580430e4c5175c7
Extract strings in dedicated class for better clarity

Change-Id: I4d1c1dab0ccbfe4bb9b31da322e5193219a0f2b7
Merge remote-tracking branch 'gerrit/5224_rest' into stable

Change-Id: I5948595b5716a20e7e142e189c45b69f1ab9f02d
This is Tuleap 6.5.99.42

Change-Id: Ie84a1e7e97c8a4040f7e752fbb953294a24b1f02