correction #6 Doesn't work with Redmine instances not at the root addres...

Hi !
Here is a small patch that close the issue #6.
I'm not an expert in redmine architecture.... so maybe it's not the right way to do. But this solution looks simple (and efficient).

(By the way: thanks for your useful, simple and well coded plugin !)