One more fix to unassigned variables

One more fix to errors mentioned in [Issue 12](https://github.com/econpy/torque/issues/12). Wrapped the **$coldata** object in a if/else statement so it doesn't try to load the columns from a session when no session is loaded.

Also closed MySQL connections and freed the query results.