Added API resource to get seen task types

Added GET /api/task/types so we can get the list of seen task types
from the API.
Added missing authentication decorator.
Added PyCharm to .gitignore
Update tasks.py

Fixed typo
Merge pull request #242 from admiralobvious/api_list_task_types

Added API resource to get seen task types