Adding parse API to templates

This is still incomplete.

@vineethtw: Can you find out how do we read the params that the user enters from a post request. I tried looking in heat but could not figure out how they are doing it. Once we figure that out we will have to loop through all the params and then see if need to resolve any of those (eg. flavor name will be resolved to an id).