Fixed MEF logic to prevent it from crashing under certain conditions.

MEF code was looking for hardcoded locations - mainly bin.

So I grabbed the MEF code we did in SimpleAuthentication and reworked it, into here.

Also, cleaned up the repo structure a wee bit - was pretty crap as you prolly rushed it quickly.