Update package generator to use new APIs

* Move the toggling out from the view. The main should handle it IMO
* Moved the command registration into the main file as well in the spirit of our other packages
* Used panels
* Removed deprecations

If you have suggestions, please let me know. I want to start people out on the right foot. cc @nathansobo @kevinsawicki 
I added a second test testing the view. Maybe too much? I think showing `jasmine.attachToDOM` is important.