Merge pull request #7 from kaerast/master

Add example ruby library for using Setlistr api - Thanks kaerast
Adds changes to the API as suggested in issue 8

- changes name to title in all lists data
- adds username and list id's to all lists
Fixes to pages that demonstrate usage of the API following previous
commit to bring API consistency changes in.

redirect.php shows public lists for a user
api/index.php needed username returning in one query
api/show needed a change of parameters to use new API info
Merge branch 'master' into api_changes
**WARNING** This commit will break your site

Altered 2 files with important settings information in them to take
them out of version control. This should make updating your site
from the repository slightly easier in future, but will break your site!

Follow the instructions in INSTALL.txt to fix.
(edit the new files to replace the old ones!)
Sets gitignore to ignore settings.php and functions/connect.php
Merge branch 'master' into api_changes
add updated tests and library for proposed api changes
Fixes #11 Adds changelog data to the API page and better API examples

- api.php gets changelog info added
- api/show.php has a few changes that allow us to show the json
  returned by the api call
- style.css gets modifications for those pages
Adds usage instructions for the setlistr_ruby library
Makes settings.php the one place to set up database connections for
the whole site.

Still to do:
- alter the site-salt option so that also is set in settings.php
- alter the javascript so that it also can be set in settings.php
Refactors the site so that only one config file is required

Puts all the config options you need in the example.settings.php file.
When you create the site, editing this one file should get you started.

Have included the settings file, possibly in places it should not go,
and used a slightly dodgy way to find the include path.

The main script.js becomes script.js.php and is printed to the page
now, but I think that's ok.

Peer review of this would be welcome.
Adds missing files from previous commit.

Also removes offline.php so people can crerate their own, and then
adds it to gitignore
Removes the example.connect.php file. It no longer contains config
data, so replaced by connect.php
Merge branch 'api_changes' of https://github.com/caprenter/Setlistr into api_changes
Adds support for setting site url to work against
Merge branch 'one-congif'
Adds the pretty json function to the application
Slight change on expected result in username test