Big improvements to rails package.

  * Correctly verify existence of rails mysql user.
  * Correctly verify existence of rails app databases.
  * Changed Vagrantfile to example format.