Add 'noinput' flag on Django test run via tasks.py

Prevents run_tests sitting there waiting for user input (which is not
prompted for).
Try to convert MySQLManager port value to int

The MySQLdb library expects port to be given as an integer, where as
Django's database settings structure seems to prefer using a string.

Support both input types by parsing value as int on init.