Api: allow recursive tree request

As i've suggested in http://feedback.gitlab.com/forums/176466-general/suggestions/6661459-api-allow-recursive-repository-tree: added a parameter in tree request to get a recursive tree and path attribute in response.
Inconsistent indentation detected.<br>Tab detected.