Add new build target 'core-amd'

The core-amd target builds a jsxgraphcore that can be used as an AMD module.