Fixes for #23 and #25

Fixed an error with the sitemaps generation
Improved URL rewriting/fixing for different set-ups(with permalinks and
query mode, without permalinks and query mode, etc)
Fixed a fatal error, due to not including the "MLWP_Comment_Query" class
when required.