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.
Use 2 (not 1) spaces for indentation.<br>Space missing after comma.<br>Tab detected.