add view helpers for buy and trade links
show buy or trade buttons based on purpose
move common view helpers and partials into Application module
fix bug where can not save changes for country field of Contact form