auto image MIME detection, CSS embed fixes, added SASS embed