added all credentials to travis file

travis file will now generate a credentials file and verify it

fixed errors in travis file

added a deciated prepare script which builds the credentials file from environment variables
Merge branch 'travis' into develop