Fix branch issues
Update header, fix tests, clean up JSHint
Update readme
Merged in changes to remove 'appendTo'
removed unused testswarm files
alias type to method

closes #190