CSV export updated

Changelog:
* introduced quotes to csv file format since questions can include seperator
* fixed a warning in library

	modified:   lib/exportlib.php
	modified:   lib/lib.php