POST /layertemplates: Create a new item.

def create(self):
        """POST /layertemplates: Create a new item."""
        # url('layertemplates')
        content = request.environ['wsgi.input'].read(int(request.environ['CONTENT_LENGTH']))
        content = content.decode('utf8')
        content = simplejson.loads(content)
        lt = self._new_lt_from_user(content['name'], content['comment'], content['json'], c.user)
        response.status = 201
        href = h.url_for(controller="layertemplates", action="show", id=lt.id)
        return {'name': lt.name, 'comment': lt.comment, 'id': lt.id, 'href': href}