Add apidocs template and generation task

This is almost a 1:1 copy of the ol3 api docs. Layout and design can be addressed in separate pull requests.