* Updated logic for finding matching dropdown item.
* Added code to set selected item to the first item in the dropdown when requirements are not met and before executing the source function. This will hopefully fix bug #22.
Bug #21 fix
* Added code to reset the dropdown value so that it doesn't trigger a false call to the source function.
* Added boolean value to onChange event handler to indicate whether the requirements have been met or not.
* Some code cleanup.
* Updated demo.
Merge pull request #23 from dnasir/dev

Minor bug fixes