Refactor of ActionScript including ASDoc additions. Applied code-style formatting.
Added .gitignore, a build script and Guardfile.