MyTaskboardController support for PostgreSQL

If the database is MySql the column issue_statuses#is_closed is a
integer 0 or 1, but if the database is PostgreSQL, the column is
boolean.

A check for the database type is necesary to create the correct SQL to
get the task of the current user.