constructor_detection

heuristic constructor detection #35
- move generation of constructor symbol to platform library API, have name of the symbol be based on the constructor it found