Refactored code into cli_wrapper.py and alarm.py for reuse.

Fixed the notification_cycleTest.py to work on new single node Mini-mon and not re-use random alarms as they weren't always configured properly

Removed dead code from notification_crud.py