Fixes and improvements

Added filter hooks for Columns, Sortable Columns, Per Page and Post Types.
First adjustments to wpdb->prepare (still needs refinement).
Bug fix in pagination. First element must be calculated *before* updating total elements.