more api interfaces implemented, tests cleaned up some
raise exception after 100 attempts to find a non-clashing UUID
add json_spec for api testing
completed refactoring of notification rules data storage and model