Log parts added.
Finished with log entries.
Minor changes
Merge branch 'dmitryhd-dev' into niksh-dev

Conflicts:
	nms_app/alerts.py
web interface linked to power control
template for web alerts
Merge branch 'niksh-dev' into dmitryhd-dev
web for alerts added
first version of test for power control is added
huge refactoring in views