Change cache and session config to use array instead of file.
Merge pull request #59 from willrowe/use-testing-config-files

Change cache and session config to use array instead of file.
Merge branch '2.1' into 2.2
Merge branch '2.2'