Mysql.ResultSet: added sort()
support restricting restrictions
more readable error
updated copyright
some variable renaming and cleanup helpers
use table_name() function