Fixes datepicker from jumping to 1970 or 2070

When $date is passed from the datepicker as

Fri Jul 04 2014 10:00:00 GMT+1000 (AUS Eastern Standard Time)

The timezone on the end causes $ts to be blank.

Strip the bracketed timezone from date before strtotime()
Also strip TZ from oncall range functions
Fix PHP script error
Merge pull request #16 from benohara/fix-date

Fixes datepicker from jumping to 1970 or 2070