fix storeconfig export for array values

For exported Resources with parameters which value is a Array the storeconfig export fails to collect them. Instead of collecting all the parameter values into a array it simply override the value with each value in turn.
Added tests around exporting storeconfigs with resources containing
arrays for param values.

Also added activerecord and sqlite to the Gemfile (currently the
storeconfigs tests are not running because those dependencies are missing).
Merge pull request #920 from senior/ticket/1.6.x/pdb-518-storeconfigs-export-arrays

(PDB-518) Fixing storeconfig exports containing arrays
Only pull in activerecord and sqlite3 on new versions of Ruby (1.9.3). This will cause
the storeconfigs spec tests to only run on newer Rubies.
Merge pull request #921 from senior/maint/1.6.x/storeconfigs-tests-only-on-ruby-193

Only pull in activerecord and sqlite3 on new versions of Ruby (1.9.3)
Merge branch '1.6.x'

* 1.6.x:
  Only pull in activerecord and sqlite3 on new versions of Ruby (1.9.3). This will cause the storeconfigs spec tests to only run on newer Rubies.
  Added tests around exporting storeconfigs with resources containing arrays for param values.
  fix storeconfig export for array values