Closes #16: Issue 12 test ingestions

Squashed commit of the following:

commit a95108c6458ad340ded6ad23818f5e28431776e4
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:54:39 2014 -0400

    additional test for generate_artifacts in test_ingest

commit 3c1d88c91842986483419bda9b919c9203b964f9
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:39:44 2014 -0400

    only load config from environment if not in test

commit 792d1226c7b75ebc96775fd9598af7e04f51cbe0
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:19:46 2014 -0400

    change load order to sidestep flask-testing import side-effect

commit bab0381e33c55b6ad93c20a9be204f965b94e9cb
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:19:23 2014 -0400

    fix insert_tile query for sqlite

commit bd5e81df4dc52724f92f9a42422f3d2b7b4d9c45
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:08:23 2014 -0400

    build and coverage badges in README.md

commit 3ef71e758fbcbc27210e40730d54cd7593e7ddde
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:05:44 2014 -0400

    PEP8 compliance in test_ingest.py

commit 942beef33182a92e0a518794b12f5e4caceee84d
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 17 15:03:05 2014 -0400

    basic tests for ingest.py ingest functions

commit 9174a67d898d163a581a0f3862325c29fb84b27d
Merge: 9afe461 8562a73
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Thu Oct 16 17:02:13 2014 -0400

    Merge branch 'master' into issue-12-test-ingestions

commit 9afe4612baa4f3f155e7972efdc96e9fc404c076
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Thu Oct 16 16:41:28 2014 -0400

    nose setup: move nose.cfg to the standard setup.cfg filename
closes #19
fixes #17
fixes #15

Squashed commit of the following:

commit 22da6a6e722d09de7cdd6084134da6c813a29f03
Author: tspurway <tspurway@gmail.com>
Date:   Fri Oct 24 10:46:41 2014 -0400

    refactored reporting/base test cases to mitigate expensive fixture loads

commit 4443d457e23a7df55b22e6616a34615fa60d7180
Author: tspurway <tspurway@gmail.com>
Date:   Fri Oct 24 10:24:47 2014 -0400

    cleaning up some print statements

commit ca9f3be0af95496689fb63af5f6d499072837cb8
Author: tspurway <tspurway@gmail.com>
Date:   Fri Oct 24 10:04:34 2014 -0400

    added slot stats test

    added slot stats test

commit 1e6e411dbe77b3b543463d7475679513a44304e8
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 18:56:42 2014 -0400

    added tile stats tests

    added tile stats tests

commit ecdb2d5d48347ca0ad090fbbc2a0dc06879480fc
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 17:12:42 2014 -0400

    added tile summary tests

commit 360e39382350d8c2c90ac055e0071d5e784ae690
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 11:30:02 2014 -0400

    fixed up existing tests

commit 2abbe5bbaf9a232876d28704c797a289f702aa30
Merge: e58194e a32d6ee
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 10:58:52 2014 -0400

    Merge branch 'master' into issue-15-tile-descriptions

    Conflicts:
    	tests/base.py

commit e58194e39424ce14faa6db453d420aecc819124a
Author: tspurway <tspurway@gmail.com>
Date:   Wed Oct 22 17:41:16 2014 -0400

    added tiles to the fixtures and base test case - this is required because reporting joins against this table

commit 0e392001d70d765085667a25d29ef4e9bbc7f021
Author: tspurway <tspurway@gmail.com>
Date:   Wed Oct 22 11:17:29 2014 -0400

    got base.py and fixtures loading into sqlite properly

commit 8d139cb09b5b7db07353ea45851b524f9bfa56fb
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Mon Oct 20 13:24:28 2014 -0400

    Closes #16: Issue 12 test ingestions

    Squashed commit of the following:

    commit a95108c6458ad340ded6ad23818f5e28431776e4
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:54:39 2014 -0400

        additional test for generate_artifacts in test_ingest

    commit 3c1d88c91842986483419bda9b919c9203b964f9
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:39:44 2014 -0400

        only load config from environment if not in test

    commit 792d1226c7b75ebc96775fd9598af7e04f51cbe0
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:19:46 2014 -0400

        change load order to sidestep flask-testing import side-effect

    commit bab0381e33c55b6ad93c20a9be204f965b94e9cb
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:19:23 2014 -0400

        fix insert_tile query for sqlite

    commit bd5e81df4dc52724f92f9a42422f3d2b7b4d9c45
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:08:23 2014 -0400

        build and coverage badges in README.md

    commit 3ef71e758fbcbc27210e40730d54cd7593e7ddde
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:05:44 2014 -0400

        PEP8 compliance in test_ingest.py

    commit 942beef33182a92e0a518794b12f5e4caceee84d
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Fri Oct 17 15:03:05 2014 -0400

        basic tests for ingest.py ingest functions

    commit 9174a67d898d163a581a0f3862325c29fb84b27d
    Merge: 9afe461 8562a73
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Thu Oct 16 17:02:13 2014 -0400

        Merge branch 'master' into issue-12-test-ingestions

    commit 9afe4612baa4f3f155e7972efdc96e9fc404c076
    Author: Olivier Yiptong <olivier@olivieryiptong.com>
    Date:   Thu Oct 16 16:41:28 2014 -0400

        nose setup: move nose.cfg to the standard setup.cfg filename

commit 7c970a73c422d0a784600d008c77b4aa8a2a46cd
Author: tspurway <tspurway@gmail.com>
Date:   Tue Oct 21 12:19:11 2014 -0400

    finished feature

commit 8eb5ea37e5b9e4c1a49f3ecb1396fd01a0048f3d
Author: tspurway <tspurway@gmail.com>
Date:   Mon Oct 20 19:51:01 2014 -0400

    added first cut at joining tiles table (issue #15)
closes #22: ingestion splits image files and deploys to S3 accordingly

Squashed commit of the following:

commit d20cf69164054436508d8706bec802080fd6d3d1
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 24 13:44:49 2014 -0400

    make locale data serialization in ingest.generate_artifact clearer

commit 4e88344395f3568b089506b86f4cd524a5061da9
Merge: 331fd1a 0b686f2
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Fri Oct 24 11:23:32 2014 -0400

    merge with latest master

commit 331fd1a03c9525678f6c0206f26066964c9380b2
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Wed Oct 22 16:26:36 2014 -0400

    test content type for images

commit 650a0ca09a441796eade800b9fd13ec07894c0ec
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Wed Oct 22 16:09:11 2014 -0400

    add support for gif images

commit f01e553ef097247fc2bdb3721dcfb3cf038fc62e
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Wed Oct 22 15:57:39 2014 -0400

    fix PEP8 validation

commit 5b9cc962f92bb2214eb2e655ca6065240e64879f
Author: Olivier Yiptong <olivier@olivieryiptong.com>
Date:   Wed Oct 22 15:51:53 2014 -0400

    ingestion splits image files and deploys to S3 accordingly
closes #24
fixes #23

Squashed commit of the following:

commit 9874654b6966aaec4ba9095fcb5dafd1df293560
Author: tspurway <tspurway@gmail.com>
Date:   Fri Oct 24 16:32:07 2014 -0400

    integrated this feature branch, finished it's testcases and fixtures

commit 662e302597d5f293fe42e6c994af1505d6e2ef97
Merge: a2b51a8 4ad67cb
Author: tspurway <tspurway@gmail.com>
Date:   Fri Oct 24 14:07:25 2014 -0400

    Merge branch 'master' into issue-23-newtabs-table

    Conflicts:
    	integration_tests/test_query.py
    	splice/models.py
    	splice/queries.py
    	tests/api/test_reporting.py

commit a2b51a8898464e1db4f9ab8539d79ec4138274c9
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 00:18:02 2014 -0400

    refactored / simplified queries to accomodate newtab_stats_daily table
    (cherry picked from commit 63e126d)

commit ec8c84d2d76db972fb3782a11e71b44d24cea969
Author: tspurway <tspurway@gmail.com>
Date:   Wed Oct 22 17:58:13 2014 -0400

    adding data migration for new table, newtab_stats_daily.  Migrating newtab data from impression_stats_daily to new table.  Deleting old data from impression_stats_daily, and deleting old column newtabs.
    (cherry picked from commit 6f9095d)
closes #25
fixes #13

Squashed commit of the following:

commit de6f1c98dcea544098ea39ee6fddb8db348f9c76
Author: tspurway <tspurway@gmail.com>
Date:   Mon Oct 27 17:41:22 2014 -0400

    fixing build. pep8

commit 186f756bee6065459bd22c70338c942ebfff707e
Author: tspurway <tspurway@gmail.com>
Date:   Mon Oct 27 17:37:46 2014 -0400

    integrating locale and country_code API query changes to master

commit 33188936faf8c122486eb0132ffa9e3672ff920a
Merge: f58e702 4de0e61
Author: tspurway <tspurway@gmail.com>
Date:   Mon Oct 27 11:49:14 2014 -0400

    Merge branch 'master' into issue-13-locale-query-param

    Conflicts:
    	splice/models.py
    	splice/queries.py
    	splice/web/api/reporting.py
    	tests/api/test_reporting.py

commit f58e7020a6737b0a71b0ecec2f55ca2538e8ca77
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 00:29:44 2014 -0400

    refactored summary and stats reporting URLs to include country_code and locale as query parameters
    (cherry picked from commit 0d5f547)

commit a2b51a8898464e1db4f9ab8539d79ec4138274c9
Author: tspurway <tspurway@gmail.com>
Date:   Thu Oct 23 00:18:02 2014 -0400

    refactored / simplified queries to accomodate newtab_stats_daily table
    (cherry picked from commit 63e126d)

commit ec8c84d2d76db972fb3782a11e71b44d24cea969
Author: tspurway <tspurway@gmail.com>
Date:   Wed Oct 22 17:58:13 2014 -0400

    adding data migration for new table, newtab_stats_daily.  Migrating newtab data from impression_stats_daily to new table.  Deleting old data from impression_stats_daily, and deleting old column newtabs.
    (cherry picked from commit 6f9095d)