Changed initProperties to create properties and set callbacks in separate passes; added the ability to create nested properties.
Fixed position-setting race condition in cytoscapejs tool. Adapted to use modified initProperties
Fixed a potential problem where a variable wouldn't be defined by the time a callback was fired in highcharts-scatter tool