Support viewing tickets without a departments

This can happen when associated department is private and the system has no
default department (which is possible with v1.6 upgrade)
Merge pull request #658 from protich/issue/unknown-department

Support viewing tickets without a departments

Reviewed-By: Jared Hancock <jared@osticket.com>