added getActiveAlarm function to check active alarm of smartpal
Merge pull request #208 from irvs/issue206

added getActiveAlarm function to check active alarm of smartpal