Fixed hard-coded problem #4

Use 'user-emacs-directory'. But this variable was introduced from Emacs23.
So first check that it is bounded.
Use file-name-as-directory for user-emacs-directory
Merge pull request #7 from emacs-jp/fix_hardcoding

Fixed hard-coded problem #4