WICKET-5625 Setting custom IResourceSettings is not possible in WebApplication#init()

Add a unit test verifying that it is possible to set custom IResourceSettings in MyApp#init() method

(cherry picked from commit 35f2003a456fb0fcd6f62b586565efafa4f3e111)