Refactored local::promise to be standard conformant (sans *_at_thread_exit)
Merge pull request #1210 from STEllAR-GROUP/promise

Refactored local::promise to be standard conformant