Switched to (geo)django for ease of handling the database.
Completed populate functions - should now work with all three databases.
TODO: combine functions into setup_all
TODO: move tests to Django side and rewrite/add
TODO: sort out missing NICL codes
TODO: currently testing transaction commit mode for faster performance.  May not work, in which case remove transaction.atomic
TODO: recreate initial db migration to avoid making things messy.