Added the filter by action in schedules api

includes unit and functional tests
(related changes in simple and sqlalchemy db)
Merge pull request #185 from komawar/action-filter

Added the filter by action in schedules api