Added Severity to Alert and Trigger and added more web API methods for those entities as well. Added support for trigger types.