Move feature cache and shared vertices to vector store 

This PR suggests moving the features cache and shared vertices structures from the vector layer to the vector source. This is as discussed during our last dev meeting.