add travis
update license and readme.
adds karma tests