Improve database query performance

Added indexes to make sure that database queries stay relatively fast
even with large amounts of data. Also made one minor SQL query
change (sort by field id instead of field name.)
Clarify additional config options message
Bump version number to 0.9.4
Bump version number to 0.9.6