Add menu dependency for the menu class.
Merge remote-tracking branch 'origin/7.x-1.x' into 7.x-1.x

* origin/7.x-1.x:
  Added arguments to first() and last() so that they are more syntactically awesome.