Cleaned up brew controller, added logic that I think works for getting the next brew.

Needs to be tested!
Added index on brew time field and basic set of tests.
Added log message to brew seeding.