Cleanup and Speedup

1. Made the script write the output to a file rather than printing it in
the console
2. The script now deletes fields that are not in use (checks if their
value is == null)
3. Checkboxes are handled correctly. (all values for each checkbox
should appear)
4. The links have been replaced with html and text to click
5. added links to the fulltext array (they now are automatically
clickable in drupal)