More delimited text bug fixes

Additional tests cases, resultant bug fixes, documentation updates.  Main components of this pull request are:

File encoding: Selected file encoding was being ignored.  Fixed and
added test cases for file encoding.

Badly formatted quotes: Fixed handling of badly formatted quotes (eg
unclosed quotes).  Added test case.

Regular expression delimiter:  fixed non-intuitive behaviour (to 
perl/python users) of not including capture groups in the returned
fields, and rationalised behaviour for anchored regular expressions.  
Added test cases for handling of regular expressions.

Field names: Where a file had duplicate or blank field names it was
not possible to reliably set the names of X,Y,WKT fields.  Relocated
field name handling to simpler common code in QgsDelimitedTextFile, with
automatic renaming of fields with ambiguous or missing names.  Add test
case for field renaming

Empty records: Removed empty records (eg records containing just 
delimiter characters, as often added by Excel)

User interface fixes: Fixed tooltip and other messages throughout.
Changed encoding combo box to be alphabetically sorted. Fixed data
sample grid to be refreshed when encoding changed.

Context help: Added documentation for using delimited text layer in python,
added description of how attributes are loaded and named, general editing.