1. Moved common dashboard code to contrail-web-core repository

2. Added an option to specify template name (tab content) while adding new info box/tab in dashboard