Fix for issue #4

Implemented a simple constraints system to limit selectable dates (Generic interface and some usefull implementations inside)