Fix for byte compile warnings

 - Declare functions and variables before used
 - Use cl-lib function name instead of cl functio name
 - remove needless quote

There are no byte compile warnings on Emacs 24.3 and Emacs Head.
Merge pull request #55 from auto-complete/fix-bytecompile-warnings

Fix for byte compile warnings