update version.h and API doc and release note for v1.2
Merge pull request #1461 from sijchen/v1.2_release1

Update version.h and API doc and release note for v1.2