Implemented Hooks

Added hook for installing/reinstalling plugins upon build so no need to
keep them in source. Also updated .gitignore to ignore all plugins and
platforms.