Add failOnfailures option to fail grunt trask instead of aborting grunt
when there are failed tests or errors