Adds a maxImageFileSize option for in-lined images and re-bases relative css reso...

...urce paths
Any tests for this?