change loading patches to fix 500 in wiki
restore mistakenly removed preview feature
temporary fix for application_helper patching
bumped version to 0.0.4
Merge pull request #1 from thambley/master

Fixes error 500 on documents#show
merge 0.0.2 with 0.0.4
open preview when click on thumbnail
restore download capability
fix helpers loading