Added run tests script, updated travis config. Added error templates.