added db.__name__ for use with stuff
added initial support for executing sql queries as well as stored procedures — WARNING: not sql injection safe yet!