Added new delete operations.
Really strange errors were happening with the removeRow() function,
so for the time being a normal SQL delete query is made.
Also added resetAll() function to clear the entire table.
Also the counter was removed from phoenixlibrary, since
gridview already supports that. Maybe a simple getter would suffice.