Complete the package explorer page

Changes:

1. Clean up UI
2. Add unit tests
3. Fix render bugs in other browsers than IE.
4. Support syntax highlighting.