Fixed file actions for video viewer

File actions now register with the new API and are available in other
file lists too.

This also reduces the number of legacy warnings in the console.

Please review @MorrisJobke @VicDeo