fixed expanding functionality

git-svn-id: http://plugins.svn.wordpress.org/collapsible-pages-widget/trunk@1033782 b8457f37-d9ea-0310-8a92-e5e31aec5664
Fixed hardcoding of table prefix

git-svn-id: http://plugins.svn.wordpress.org/collapsible-pages-widget/trunk@1034416 b8457f37-d9ea-0310-8a92-e5e31aec5664
Fixed hardcoding of table prefix

git-svn-id: http://plugins.svn.wordpress.org/collapsible-pages-widget/trunk@1034417 b8457f37-d9ea-0310-8a92-e5e31aec5664
Fixed displaying hidden and drafted pages