New function to sample from frames (Issue #2419 )
closes #2419 
Creates a function `.sample()` in generic.py to sample from pandas objects. Returns either a fixed number of rows or a share. Also includes a number of tests in `test_sample()` -- I am open to added suggestions. 

Input from users with panel experience appreciated! 
