Update database handling to work with rails 4, bump version to 0.0.8