Move test/benchmark to top level

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Blame Revision:
Handle non-contiguous Threshold/Square inputs
Merge pull request #49 from ajtulloch/update-square-threshold-contiguous

Make nn.Square/nn.Threshold handle non-contiguous inputs