rewrite xml generation
improve rss self-url discovery:

use ports if not standard, use other vars for scheme, remove extra '/'.
Merge pull request #78 from bifek/rssfix

improve self-url discovery
Merge pull request #79 from bifek/rssfixxml

rewrite xml generation
if rss script is in read-only directory, skip file generation and diff calculations.