[EMACS]: more advanced pkg management

1. refactor pkg management to packages.el
2. check and install needed pkg on startup
3. add marmalade repo