New Feature constructor with auto class property mapping

This is my first pull request ever. I have tried to have the Feature constructor to take any object as input and map its properties to feature's property dictionnary.