.gitignore: Update
Move JavaScript code into separate files under lib/

Eventually I want to move the code to Coffescript and make
most of it NoFlo components, but this will do as an initial cleanup.