Added Support for previewing PDF's

Quite buggy, but added ability for PDF’s to be displayed in line using
pdf.js
Added function to display full content within page
Not sure what the changes are
Removed PDF preview

This was not working, could be a filter in it’s own right
Now using cURL

Replaced the getfilecontents with cURL
Fixed JSON not reading bug
Stopped errors!

Need to fix the error flag though
Fixed some incorrect JSON issues with PDF's
Further detection of domain and file types to ignore
Removed echo $counter
Merge branch 'Developmental'

Conflicts:
	filter.php