support for apply to pointers to interface{}
changed to return error if value is not a pointer.
Merge pull request #1 from umisama/patch-1

support for apply to pointers to interface{}