2.0.5 Update:
* Use more sensible/robust method of finding includes and admin path
* Renamed above consts to avoid potential collisions

git-svn-id: https://plugins.svn.wordpress.org/document-gallery/trunk@887180 b8457f37-d9ea-0310-8a92-e5e31aec5664