Improved plugins docs

Improved the plugins docs to make it clear that plugins must declare a
single argument constructor that accepts an application, and improved
the error message that is thrown when they don't.