Refactor Makefile

drop 'make jsdemo' in favor of 'NOFLASH=1 make demo'
to avoid duplicating the damn rules

yay conditional stuff
Refactor codec out to ogv-codec.js

Fixes https://github.com/brion/ogv.js/issues/150
whoops, accidentally committed -profiling option