1.1.5: unit tests, plugin refactor and grunt integration