Add get_num_examples method to Dataset API

Addresses #851 and #852

This PR adds a method get_num_examples to Dataset API, get rids of get_design_matrix() in sgd.py and allows (back) no monitoring datasets in sgd.py.