Fixing relative path issues left over from flatjar era

Use plugin_path and pattern_path

closes 1377
Merge pull request #3 from elasticsearch/master

Fixing relative path issues left over from flatjar era