Updated WebAlarmRepository so that it depends less on the AlarmFilter
code that is used in the web UI. Changed AbstractDaoHibernate so that it
resets the projections on criteria that are used for counting so that
the criteria can be reused for row-based queries.
Removed last references to AlarmCriteria from DaoWebAlarmRepository.
Moved the AlarmRepository class from opennms-webapp into opennms-dao.
Merge remote-tracking branch 'upstream/master'