Rake build improvements

fixed versioned javascript library references, added Rake build debug logging, added sample project to build process, renamed tasks for clarity