Fix rake tasks and more

* Fix rake tasks to only create a new rent instance for the
  current rent instance if the current rent for that billing period
  hasn't been created yet