support: add purchase and activation buttons

Display purchase and activations buttons if:

 * Demo
 * license is about to expire or is expired
 * you have nearly reached max_machines (max_machines - 10)