Updated mcavatar.class.php

Added the skin's second layer to the render.
Fixed a major security issue regarding global properties.