Fix - PHP 5.4 error

http://photozou.jp/photo/show/280550/167456799
Improved - Auto generate siteManager.php

When change dir name
Merge pull request #11 from yama/somefix

Some fix and improved(managaer path and fix for php5.4)