updates version and fixes dependencies; #8. #9
standardize `pkg.css` and make sure it is always an array; fixes #8
clean pkg.main after enhanced; fixes 9
adds test cases; #8, #9