Rework routes and actions for random / recent entries

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Fix logic of retrieving prev/next entries to take account of user

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add unit tests for prev/next entry model methods

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Globalize you must be logged in messages

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Copy update

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Validate presence of entry fields

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add generated password to users fixture

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add test environment to database.yml

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Refactor 403, 404, 500 responses

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add logging tool

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add byebug to gemfile

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add reference to user's entries on user model

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Fix various bugs in entries controller

Notably: Random could return entries that did not belong to the current author
Signed-off-by: Miller Peterson <miller.peterson@gmail.com>
Add tests for entries controller

Signed-off-by: Miller Peterson <miller.peterson@gmail.com>