loca table fixes and added RLE encoding

This may pass OTS but I'm pretty sure all renders will fail to properly handle it. Until all the glyphs are properly filled this could be a problem.