Detect Force Update checkbox checked

Send boolean forceUpdate to getSchedule.php.
Factored all DB connection code to connect.php