Added a new config option and made the API easier

* New config option "dateParseFallback"
* Ability to pass Javascript Date Objects as arguments to API functions
* Option "staticPos" replaced by "nopopup" (both continue to work)
* Whitespace cleanup