The VVV Templates Project Towards an automated classification of VVV light-curves I. Building a database of stellar variability in the near-infrared