Updated Plugin to be EE2 compatible

Converted deprecated methods and functions, moved to a new "third_party" directory.

Signed-off-by: Christopher Kennedy <chris@onebrightlight.com>