'Remember Code' functionality

Added an option to store the executed code (in base64 encoding) so it will persist beyond the session - e.g. machine restarts and whatnot.  Also did a bit of code migration to a more Grails 2.0 style - controller actions as methods instead of closures primarily.