Revert "Revert "This is a way to do plugins.""

This reverts commit 3d4e52d8fd119e7957e653bfab17651b45e52fe2.
allow templates to be loaded from plugins
add public field to repoconfig schema
Hacking swig to get the template block renders
WIP on extensions blocks
Merge branch 'master' of github.com:Strider-CD/strider into pluginTemplates

Conflicts:
	views/base.html
overwrite configs and remove debug
block, error
Merge branch 'master' of github.com:Strider-CD/strider
if a repo is marked as public, let anonymous users see the the job and
build output pages.

changes:

- require_resource_read middleware now understands public repos.
- jobs routes no longer require authentication, only resource read
  privs.
- jobs pages don't look up the repo config object through the user
  schema (ie not req.user.get_repo_config) but instead have their own
  lookup function which works without a currently logged in user.

bugfix:
- favicon was crashing job detail page due to objectid case. we detect and
  ignore non-object id types.
starting with bitbucket
support public repo's.
needed for case of user authenticated but not a collaborator or owner of a public repo.
fix typo on manual setup instruction page
Merge branch 'master' of github.com:Strider-CD/strider
Merge pull request #55 from axiomzen/cc7d335626b9a0f360b3ba3b3fea9b053154458d

fix typo
bitbucket authentication working
check for github user profile has plan data
updated readme
- remove trailing slash in SERVER_NAME since it's being used in `https://github.com/Strider-CD/strider/blob/master/lib/auth.js#L56` to create the callbackURL for github, which results in a invalid URL with double forward slash after the domain name
updated readme for clarification on SERVER_NAME config
Merge branch 'master' of github.com:Strider-CD/strider