Fixed a couple of minor issues

Fixed the template compiler. It no longer complains if the Templates
directory is missing. CSS imports within imports now works and image
embedding from imports now works.