How to add extra field to Magento "order" And "quote" Entity?

Since Magento follows EAV (Entity-Attribute-Value) model of tables structure, most of the Magento Entities can be modified with extra attributes. Here is a snippet of PHP code which adds one extra attribute to "quote" and "order" Entity.