switch from mysql to postgresql

* switched gems
* changed travis yml, and database.yml
* migrations fail on postgeql (mainly the data lookups in a migration)
* used mysql2psql to convert a db dump and data then did a schema dump
db schema

index for worldwide_organisation_world_locations is too long needs
adding back.

Couldn't create indexes on
#<Mysql2psql::MysqlReader::Table:0x00000000f06b80> ([{:primary=>true,
:columns=>["id"]},
{:name=>"index_worldwide_org_world_locations_on_world_location_id",
:columns=>["world_location_id"]},
{:name=>"index_worldwide_org_world_locations_on_worldwide_organisation_i
d", :columns=>["worldwide_organisation_id"]}])
Input string is longer than NAMEDATALEN-1 (63)
fix travis yml
Change whodunnit to an in as it's a user.id
Regex to ~*
remove backticks
more backticks
constant scope
reorder grouping
use assert_same_elements as order not defined
pry for debugging
After investigation we need to supply an order to assocation

We are relying on mysql providing the records in order by ID which is
not the case anymore, so spcify an order when calling first/last

Also create the objects so that the id is set
Need to specify name for sorting to be correct