Fix warning returning false as 0
Fix unused parameter warning
Port media example to Qt5

For now all Phonon use is simply commented out, so previews won't work
Normalize line endings