This stuff is for making it easy to run tests! ./runtests should now pass. A bunch of tests were broken because we weren't running them regularly.

Summary:
We moved all these to requirements.txt.

Small fixes to setup.py.

Postel tests require network.

Add a simple testrunner script.

Invoke with:
    ./runtests

before landing commits on master! It by default excludes tests
in tests/network, which are slow and not super reliable, but if
you're modifying the mail sync code you should run those too
with --all.

Unbreak actions tests.

Make move_thread() idempotent.

Can't think of a good reason for it not to be.

Fix test_actions.py.

This has been broken since the db test fixture scoping change.

Clean up test_api.py and make it pass again.

My php hates your JSON.

➜  inbox git:(master) ✗ php --version
PHP 5.5.9-1 (cli) (built: Feb  7 2014 18:09:20)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
➜  inbox git:(master) ✗ arc which
Exception
Unable to parse '.arcconfig' file '/home/spang/src/inboxapp/inbox/.arcconfig'. The file contents should be valid JSON.

FILE CONTENTS
{
  "project_id" : "inbox",
  "conduit_uri" : "https://review.inboxapp.com/",
}

(Run with --trace for a full exception trace.)

Test Plan: ./runtests -x

Reviewers: mg

Reviewed By: mg

Differential Revision: https://review.inboxapp.com/D6