Fix ping method refactoring.

- Need to check the :can_connect value in hash.
- Pass the :conn_err value to build_view_options if unable to connect.
Use YAML config for db settings.

- Require YAML gem to load config file.
- Create Ruby constant for the config file name.
- Create Ruby constant for the db options key.
- Modify ping_db_server method to transform conn_opts hash to use the params expected by PG::Connection.ping method.
- Add Sinatra setting for the base directory.
- Modify views to use the base directory setting and the File.join method.
Use Sequel.connect instead of Sequel.postgres.
Add file to ceate schema via command line.

- Relies on the config.yml options.
Retrieve games and pass to index view.

- Pass results via locals using the build_view_options method.
Refactor database connection initialization.

- Store the connection in DB variable.
- Setup the connection in the Sinatra configure block.
- Remove check to see if database can be reached before attempting to connect.
Use model classes to handle retrieving data.

- Require all files in models directory which should be defined with Sequel::Model.
- Add Game model with two class methods.
- Update games table to include status column.