Fix #304 by relacing the empty() with a count()
Ensure the sample .env is copied when installing
Really fix #304 by using AND instead of OR.

Also fixed up a permissions lookup for corporation
assets along with a uery bug
Version bump
Merge pull request #305 from eve-seat/dev

Merge v0.12.3 into master