Insertion Tests and Perfomance Warnings

This work is from @mgehlke. Rebased for cleanlyness. This work majorly consists of sorting tests and adding in some warnings for low perfomance cases.

  * Added in initial warning on inefficient search and added in test stubs for search functions.
  * Added utility methods for connecting, creating and destroying test databases.
  * Hooked up connecting, creating and destroy methods in the sorting unit tests setUp and tearDown methods respectively.
  * Added SetUp and TearDown Methods
  * Added in SetUp and TearDown methods for unit tests related to sorting.
  * Added Test for Insertion
  * Added test to see if elements can be correctly inserted in to the database.
  * Added Apache wiki about installation of Debian packages
  * Implemented sorting tests. Incorrect usage of query cache results, needs to be changed.
  * Correctly noted that case 2 (partial match) isn't currently accelerated.
  * Added Introspection Statements
  * Added statements to see the type of return values and if I'm on the right track.