snapshot filter implemented for all supported data types

made handling of types in filters more robust. fixed indent on snapshot method. removed <input> wrapper tag from schema filter

implemented support for templated types in initfromdb filter