Added scene cleanup hook; clean up the bullet patterns in the bullet prototype when leaving it.
Finish proper prototype cleanup
Properly clean up the love frames prototype
Plug in missing import to get the console working again.
Fix bee firing in the prototypes; adjust bee and player bullet speeds to be framerate independent.
Reset the input state upon leaving a gameplay prototype.

This fixes a bug where exiting while space was held down and then returning would cause the player to fire until space was pressed and released again (and likely similar bugs with player movement).
Refactor: Moved gameScene into the UI folder as a middleclass to be extended.

gameScene used to be 'the' scene that would run when new game was selected. Now it contains functionality common to other such scenes (such as the bullet and pollen prototypes) and is intended to be extended. This should remove some redundancies in player setup and management.
Refactor: bulletPrototype now extends gameScene
Refactor: Change pollenPrototype to instantiate GameScene instead of Scene
Plug in bee fire sound effect
Refactor: Move common menu functionality from scene to a new menuScene class.

Menu scenes now extend this class, which handles drawing and updating the various buttons that such scenes need. This prevents other scenes that don't use buttons from having the API overhead of such functionality.
Merge branch 'kabe/prototype-cleanup' into bulletml-bug-fixes

* kabe/prototype-cleanup:
  Refactor: Move common menu functionality from scene to a new menuScene class.
  Plug in bee fire sound effect
  Refactor: Change pollenPrototype to instantiate GameScene instead of Scene
  Refactor: bulletPrototype now extends gameScene
  Refactor: Moved gameScene into the UI folder as a middleclass to be extended.
  Reset the input state upon leaving a gameplay prototype.
  Fix bee firing in the prototypes; adjust bee and player bullet speeds to be framerate independent.
  Plug in missing import to get the console working again.
  Properly clean up the love frames prototype
  Finish proper prototype cleanup
  Added scene cleanup hook; clean up the bullet patterns in the bullet prototype when leaving it.
Move the BulletML document type definition to the pattern directory

It seems more appropriate for the file to be here than in the source
code directory.
Move polarToRectangular() into the math module

That is a more appropriate place for it.
Show target when print()-ing a Bullet to help debugging
Fix bullets not moving

After switching to using vectors for bullet targets we created errors
in the logic for moving them.  The first problem is that
Pattern:draw() calls moveTowards() with ‘self’ instead of ‘bullet’;
this passes the Pattern coordinates to the function, which is not what
we want to move.  The second problem is that moveTowards() tries to
calculate ‘direction’ by using ‘target.position’.  But because targets
are vectors this is no longer necessary and is incorrect.  We only
need to subtract from ‘target’ itself.
Rename polarToRectangular() to convertBulletMLDirection()

This is a more appropriate name because the math for the function is
not what we want for a general polar-to-rectangle conversion.  It is
‘wrong’ specifically to get correct values for BulletML directions.
Fixed bug where bullets were no longer properly moving toward their targets.
Remove outdated self.x and self.y for Bee and replace all uses with position vector.
Make bullet patterns in the bullet prototype start at the center top of the screen instead of the upper left