[STORE] Remove the reference to the persistence branch in the Rails template
[STORE] Refactor the Rails' forms date conversions into a module method

Also, added tests.

Note, this doesn't solve the problem with updating the model, added a pending test.