Added PurgeLayer
Added GetEdgeCurves
added optional index parameter to LayerMaterialIndex
Merge remote-tracking branch 'remotes/parent/master'