Update addResourceHandlers method

Configuring the resource handler chain once makes it easier to what's
different. It's a little shorter as well.
Merge pull request #5 from rstoyanchev/master

Update addResourceHandlers method