adding check to make sure the model is loaded

before generating a link to the file
Merge branch 'refs/heads/kohana_v3.3/fix/file_link_loaded_detection' into kohana_v3.3/master