fix bugs

 - Use BIGINT for _pig_status columns.
 - Catch 'ProgrammingError' thrown by MySQLdb if the table does not exist.
 - Do not remove whitespaces in SQL, fixing error with -- comments.