Changed to_hash implementation to descend Arrays

Converting RailsConfig::Options instances to hashes will now work correctly when they contain arrays.