Add play22.rb

In main play is replaced with typesafe-activator.
Adding play22.rb here since @leepa said it's still in heavy use.

See: https://github.com/Homebrew/homebrew/pull/30262#issuecomment-46581343
Remove `head` and uses of head in `install`; we don't allow head declarations in versioned formulae.