Added download link to file details page

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Converted plugin to directory helper

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added selectActive() to model

Signed-off-by: Tom Wright <tom@inflatablecookie.com>