Clean up unused variables and VIM directives.
Merge pull request #187 from midokura/dev/tomohiko/resource_base_cleanup/20140618

Clean up unused variables and VIM directives.