Template tags calls form permission

This commit will make the templatetags to pull the form rendering
permission from the form object.

Also there will be two attributes set in the form when redering
purchase_permitted, and reason. This will allow a better information to
be displayed on the template.