Add mysqli class check to RestyApi::response()
- Before closing the database connection check if $this->db is an
  instance of mysqli
Add improvements to the demo app
- (DemoApi.php) Save and update requests will now return the saved/updated
  todo
- (todosApp.html) Add save buttons to the app (better touchscreen support)