Merged synposis and notes sections in components/common_control_promises.markdown

Merged synposis and notes sections in components/common_control_promises.markdown into a description section, and also marked off some code sections with proper markdown and lexer details.