CMS-1736 Add type definitions for schema_tree in RemoteService.ts

Add strict typing for the parameter and result values of RemoteServiceInterface.schema_tree()

* Check the RpcHandler method in Java to find the exact values accepted and returned.
* Use optional types (optParam?: string) where appropriate.
* Avoid use of any as much as possible and use concrete types.
* Look at types of space_list() and space_get() for reference.
Merge branch 'master' of github.com:enonic/wem-ce into CMS-1736

Conflicts:
	modules/wem-webapp/src/main/webapp/admin2/api/js/lib/RemoteService.ts
Merge pull request #259 from enonic/CMS-1736

CMS-1736 Add type definitions for schema_tree in RemoteService.ts