Merge into master from pull request #284:
Convert list accessors to templates and optimize (https://github.com/floodlight/loxigen/pull/284)