Gulp build chain

See #972

I'll keep this branch up to date. I kept all the interesting parts from WSK and we definitely save a bunch of bytes this way. I'm going to investigate the Travis CI publishing next.

Feel free to criticize my terrible gulp skills.