Merge pull request #1 from Mitch528/master

Fixed SQLite problem
Get rid of a debug line that shouldn't have been pushed in 22fb5ae1a0bc27774e76603d2bfafc25bf3db1e1
Some changes made by Visual Studio when loading the project (2012)
When contracting to login form FROM main form while having succesfully logged in before no longer tries to open the default database 'trinitycore_world' when browsing for a database
More proper version of previous commit, don't use the variable used to connect to the database
Re-add the database which was apparently removed by accident in 59a84e6aec64a5cd886a3ccb5364aae224df3e19. Also renamed it from 'parameter_info' to 'sqlite_database', as the database will later also contain DBC data.
When selection in the listview changes, the parameter strings are now pulled from the database and filled in the labels
Add some more fields to event_type_information
Implement searching for areatriggers, they are loaded from the SQLite database.
When the selection changes between areatrigger and creature/gameobject/actionlist, all items are now cleared because of different columns
When switching between creature/gameobject/action and areatrigger searching types while searching now interrupts the thread and stops it, thus no longer filling up wrong columns with results
Make both database selecting methods in the search form be crossthread-safe by default, rather than controlling this with a bool
When attempting to load the script of an entry without having SAI, we now display the string of the given source type in the error message rather than the number
Add two points to the TODO.txt
Only allow numeric input in the criteria field when searching for actionlists or areatriggers (this was already implemented for all other numeric-only source types search types)
Delete some finished and/or incorrect items from the TODO.txt
Get rid of the numeric limitation to almost all textboxes because this also disallows using combinations like Ctrl + (A/C/V/X/etc.)
Also let the comment column auto-resize to the biggest value in it
Minor cleanup by ReSharper and rename SMART_ACTION_SEND_CASTCREATUREORGO to SMART_ACTION_UNUSED_16
Add content of FillFieldsBasedOnSelectedScript to a try-catch block because of possible SQLite errors