Update customized template snippet to reflect current CKAN
Display uploaded files and API links in the sidebar

The previous code would only show files loaded through links,
not those that have been directly uploaded.
Add PDF plain text extractor to converters
Read contents from plain text files on resource creation
Extract plain text from resource files for indexing
Clean up debug output
Extract resource contents at indexing

Performing the extraction at indexing time rather than resource creation
should allow for the contents to be properly indexed also if the index
is rebuilt at a later time.
Read converted resource text as utf-8
Drop PDF converter from plain text extractor

Some PDF documents contain unicode control characters
when converted to plain text, which breaks Solr updates
when such documents are uploaded. Hence, drop conversion
of PDF documents for now.
Update docstring and drop debug output level
Fix resource conversions broken in a previous commit

The attempt to get PDF conversion working broke other converters.
Since the PDF conversion isn't happening right now, revert some
of those changes to the code.

Also fix a server error when conversion was attempted but failed.
Move convert_file_to_text to the appropriate module
Remove unused imports
Improve and clean up debug output
Re-add extracting and indexing of PDF documents

The text is extracted in plain ASCII, converting characters with
diacritics into non-diacritics. However, searches with diacritics
should still work provided that Solr is configured with
ASCIIFoldingFilterFactory.
Raise logging level for some messages

These messages might occur and be interesting in non-exceptional
(normal operation) situations, so it might be better to include them
also in non-debugging logs.
Catch and log exceptions raised at text extraction

This prevents server errors and failing tests in case of remote or
nonexistent files.
Improve docstrings
Improve debug output and clean up the code a bit
Improve docstrings