Small style fix.
Core: Changed pugixml filehandle factory so that there is only one function for all possible 3rd part solutions. Fixed #49
Style fixes.