Fixing NULL pointer exception issues with the web.xml to parser.

1. Issue with totalElements variable being used to limit a loop and subsequently being reset inside it

2. Issue with checking for == null on xml search for child elements, needed to check for > 0 length
Fixing web.xml parser issues

1. parser was only taking the first welcome file defined in config, fix allows multiple

2. parser was not creating filter mappings (rendering filters useless), this is now fixed
Merge pull request #1 from DominicWatson/webXmlParserFixes

Fixing various issues with the web.xml  parser