Database interface

RAII based mysql interface with stl style iterators. Should allow easier memory management on queries.