amberc.js: start compile-time counter in main()
amberc.js: fix logic error in compose_js_files()
amberc.js: add finished_callback

this callback gets called once all compiler steps
are run