Fixing chart.unlayer (removing old refernece to internal layer array) and adding chart.relayer. Added tests to both.