[FEATURE] STI for issues and planning elements

This pull request implements single-table inheritance (STI) for issues and planning elements. Thus, issues and planning elements are stored in the same table *work_units*.