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.
Merge branch 'master' into features/linkd-scalability