added tests for alarm-definitions,added crud methods for alarm-definitions,modified base.py