More finals, better pubspec

I messed up the pubspec at some point. Moved several things to dev_dependencies

Also added a few more 'finals' to types and moved finals to the top of classes.