upgrade to rails 4 and update README