Vis index API endpoint tests and new shared filter

https://github.com/CartoDB/cartodb/issues/1592