added compute function to Feature2D (dirty workaround for #2699)

This is an ugly attempt to fix #2699. Currently it seems to be impossible to run any feature descriptor on user-provided keypoints from python.
Not sure if this solution should be merged in it's current form.