Bug fix

Needed to use ceil() instead of adding 1.  Result would change as more seconds passed.  Now it is consistent.
Unneeded test
Unused method
Unneeded test
Created test environment
Bug fix

If there are no weigh-ins, some of the methods will fail.
Readability fix

Improved readability of code by changing the sort order of the database results.
Readability fix

Changed "entries_with_weights_only" checkbox id to "show_all_entries", as that makes more sense.
Refactor
Bug fix
Bug fix

Only display stats when they are defined.
Testing

Created full test suite for both unit and function tests.  Behat/mink/selenium2/goutte are used for testing.
Readability update
Bug fix

If there are no weigh-ins, getMostRecentWeighinDate()->format("m/d/Y") fails because the result for getMostRecentWeighinDate() is null.
Composer update

Removed unneeded packages, added needed css-selector package (required for behat/mink testing).