Generate info/exports for both openlayers and ngeo

This PR makes the build tools/tasks more generic, and makes it possible to generate info/exports for both openlayers and ngeo. This is necessary for exporting symbols using the `@api` annotation for ngeo.

Note: most of the changes could also be done in the ol3 scripts.