fixes #1 add grunt task to test and package
fixes #2 finalize npm integration