Add API method for fileintegrity status.

Proposal for new API method to get integrity status. Would be usefull in my "custom monitoring environment"