Squashed 'vendor/pywork4core/' changes from a87809d..b57ee95

b57ee95 Merge pull request #6 from Work4Labs/mvdb/JOP-743/phantomjs-integration
f46c1fd add phantomjs as an (opitonal) dependency
f828df8 Merge pull request #5 from Work4Labs/mvdb/JOP-1009/ipython
b12bf1b use ipython because it's cool
db457be Merge commit '020effc2e66df1dc32f396caaa4d53fa9bdf076b'
48b81c8 Allow unit tests to access private members
c678fc5 Alphabetical order for imports
84d22d4 Configure CircleCI via circle.yml rather than the UI
bd3a28c Default value for MONGOENGINE parameter
32f2ee7 Also purge .pyo files in make clean_pyc
b5f5e88 Only one requirements.txt file is required for automatic heroku integration. Much easier. More standard.
dbc1a57 Better comment
42c4af4 Try to fix some path issues with make install
f3931f6 Pass lint and unittests !
0ef8b6e Ensure that no site packages are installed
de7d42c Fix make lint
62e7153 Actually create the hashed index with mongoengine, fix MongoTestCase to correctly clear the collection cache in order to recreate indexes (OPS-1539)
e91413e Oops.
97fbc8f Rewrite tests to use decorator instead, it's a bit cleaner
ccd38dc Add unit test for python version
1243dc6 Forcing python version when creating venv
c8b1e2b Fix make lint
f835654 Fix test server run command
e387f6c Horrible black magic, but this way manage.py uses the venv even when invoked directly
f211bd5 Fix make run
f166030 Install freezegun for time related unittests
3cbeab5 pywork4core's core files cannot be tested from the top level app
4edcca5 Disable invalid warning
c80e904 REQUIRES CHANGES IN YOUR PROJECT - Import the django app instead of the top level module
e82b522 Combine project and pywork4core requirements into a single pip install call
2809b1d Unit tests pass!
5172be3 Can't fully test manage.py because it needs to be called as the main script
b8530b6 Fix test name so that make lint and test are happy
8263f95 Don't report issues with not testing the root __init__.py
1157d65 PyWork4Core is now a pure django app and uses that for its tests
05ec81c Fix indentation
43cf29b Add a MongoTestCase
f22289c Add make clean_pyc

git-subtree-dir: vendor/pywork4core
git-subtree-split: b57ee9511571a2f98199f241b7c3f82ea750ad35
Upgrade pywork4core
Remove option that no longer exists
Fix compatibility with pylint:C0326 whitespace before assignments
Fix django_short_urls/middleware.py:19: [C1001(old-style-class), ServiceUnavailableMiddleware] Old-style class defined.
Fix compatibility with pylint:C0326 whitespace before assignments
Fix lint
Add circle.yml config
Use statsd and Link.clicks instead of a Clicks collection
Simply use a custom install_project rule to install PhantomJS
No need to disable this rule
Merge branch 'olefloch/OPS-1851/upgrade_pywork4core' into olefloch/OPS-1018/clicks_in_datadog
Send nb tries to datadog instead of DB
Merge pull request #20 from olivierlefloch/olefloch/OPS-1851/upgrade_pywork4core

OPS-1851 Upgrade pywork4core
Merge branch 'master' into olefloch/OPS-1018/clicks_in_datadog
Fix race condition
Mock statsd and check that we're incrementing counters
Merge pull request #21 from olivierlefloch/olefloch/OPS-1018/clicks_in_datadog

Olefloch/ops 1018/clicks in datadog
Merge branch 'master' into olefloch/OPS-1414/nb_tries_to_datadog
Merge branch 'master' into olefloch/OPS-1414/nb_tries_to_datadog