Update patternMatcher plugin

This commit fixes #176
Add PUT and POST api routes
Add functional test for PUT route
Add functional tests for POST route
Refactor dashboard app to use new model method populateFromDirtyCheck
Fix error on populateFromDirtyCheck method : check that name is not empty
Add new tests for empty name and complete PUT test
Add API doc, debug (WIP)
Remove debug
API : Set custom error handler for test environment
Update README after code review
Code review
Add examples on API routes, complete test
Add missing example url for a route in README
Remove deprecated route
Merge pull request #194 from DaphDaOne/rest_api

[RFR]  Add PUT and POST api routes
Merge pull request #187 from jonjonsonjr/patternMatcher

Update patternMatcher plugin
Encode the tag name to avoid errors when using special characters
Merge pull request #199 from DaphDaOne/tags_encoding

[RFR] Issue #171: Tags with '/' in them do not seem to work.
Fix availability calculation for hourly stats

The bug happens when a check is just started or paused

Refs #197