module: ccSidebar directive, sidebar.js/html, and ccSidebar.spec all improved

module: ccSidebar directive revised, its usage in sidebar.js and sidebar.html updated and ccSidebar.spec much improved.
New test to show that the when-done-animating expression is actually called when the animation is done.