Add getTemplate() method to block

* Each block view action will be assigned a template

* We can use this for server side rendering.  For client side, we can
  push all the template mapping to javascript via ResourceLoader

Change-Id: Id6052fb11aa7de2df5e48af5a04060d090a18fe6