generate code functionality (imported from 41c8524)

should have committed intermediary changes a while ago.
-fetches base via ajax, goes through var styles to add other styles on
-puts in a pre in a lightbox, opens lightbox
-has prettify.js!
-lightbox doesn't close yet.
lightbox now works. ZeroClipboard doesn't. The ...

button looks bad. (Imported from 699a011)