Added move possibility of portals. Now categories are alway read from the Database Handler and not modifed locally.
Added sqlite trigger that automatically removes portals from the portal table if there are no further references to them in the mapping table.