remove lib from test dir
rewrite. WIP
output matches 0.3.x, apart from messy whitespace
tidy up toAmd
more tidying up
use the Source.js
tidy up
more tidying up
more tidying up
remove unused files
fix some whitespace stuff
more whitespace fixes
more tidying up
fix trim algo
throw errors if defaultOnly mode is violated
update tests
update build process. only works for node version at present, until bundling is supported