Add initial support for views

This is a basic working implementation. However, it lacks support for
metadata queries in Presto (the connector support is already in place).
This file is missing the license headers