add example database yml
upgrade to rails 4.0.2 for security fixes