Update/test framework

Updates framework to BMesh polygon api. 
Adds test for vertex import/export.
Add initial unit test and additional corrections.