AMQP-305 - Polish Reference Documentation

* Fix Code Highlighting for several code snippets
* Fix/Shorten code snippet lines that are too long
* Ensure that <programlisting/> tags are not wrapped by <para/> tags as this may cause paragraph spacing issues (PDF)