Pulling in the "refactor" branch

Squashed commit of the following:

commit 574399021608551900d05d7cceeeda8829739d03
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sun Dec 15 03:00:50 2013 +0000

    Rename setup/teardown to avoid namespace issues

commit 35a77dba06a7d3d979e3ad32066389238d3470b8
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sun Dec 15 02:01:27 2013 +0000

    Forgot to delete std/check_isort.c when it was moved

commit 4af38bfacf7d22c0e9d2c325c963cafbc97a89c0
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sun Dec 15 01:52:36 2013 +0000

    Add "checksupp", supplementary functions for check-tests

    With code using different methods to reach a common state, it's useful to have
    functions that allow debugging or testing within that space. The sort and hash
    functions have common inputs and states, so this enables myself to write less
    code and more tests.

commit bd7461a4c224c04c338552b42114feb30246920c
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sun Dec 15 01:20:28 2013 +0000

    btree: Fix some memory-leaks caught by Valgrind

    TODO: Fix the memory leak when using ts_btree_remove

commit acd354727a8437bcae5e377a53635030cbd4b397
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sun Dec 15 00:36:15 2013 +0000

    Add check for strdup, change setup/teardown for strstrip

commit 391a4af396e87d240947ac55ceff60345f8afe49
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sun Dec 15 00:22:05 2013 +0000

    small cleanups

    - Move isort to "sort" folder for sorting functions
    - Remove ifdef around TOP in Makefiles
    - get the runner to compile from inside and outside the folder.

    TODO: fix the abysmal coverage and get branch-coverage metrics

commit 4e952072fbeef2816d84fb3b40d1a0017d4278e1
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sat Dec 14 21:32:34 2013 +0000

    Fixed makefiles to use GMake templates better

commit 4f4e702ec34da0bcd7f987cf7bd9ee0e755753d6
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Dec 12 04:33:49 2013 +0000

    Makefile: use flag for using Valgrind to run check-tests

commit f06e301852f5b4f685eab4331bbc4836e06302c8
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Dec 12 04:33:05 2013 +0000

    Makefile: add flags for check-test coverage

commit 60a5fbbd45ab3f6d8a153d491119ef444ba812c6
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Dec 12 04:30:37 2013 +0000

    strrot: add test for missed by coverage

commit 32e0aec121ec5017d69f83da92aa34d4b2c02d25
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Dec 12 03:34:08 2013 +0000

    Add another valgrind suppression for check

commit d95b4bb2ea28e20eeeca79188e621fdaec04fb28
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Dec 12 03:33:26 2013 +0000

    compiler warning: operator order

commit 226f375c65923562dd8aa95da7cb5b4949a80dd9
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Dec 12 03:32:54 2013 +0000

    Cleanup whitespace, remove clang as default compiler

commit 576d4801482d374c43ca213b297ec8509b25cf02
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Wed Sep 25 18:47:58 2013 -0700

    Some new stuff, insert-sort and std header

commit 3ab099ec3e0659f44f404f7009e2acb5e4e3eadb
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Wed Sep 25 18:45:48 2013 -0700

    Changes I forgot to commit earlier, vector is busted

commit 779e5d4ca1f4552eebfed0a1b951a3877803be0c
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Wed Sep 25 18:44:55 2013 -0700

    Modified std/map to use standard arrays

commit 97744b49899af5b7f326fe9aefa1398ce91885e0
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Thu Sep 19 21:34:39 2013 -0700

    bwalk_inorder returns before processing all of the tree now

commit 1b41a32da3395e98c04eebbcd768bec3a0d39e62
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Wed Sep 18 23:28:38 2013 -0700

    Some DS stuff, singly-linked lists and binary trees without recursion

commit 68518257629e9939360062b6728c4e9a26bbe942
Author: Anthony Cornehl <accornehl@gmail.com>
Date:   Sat Aug 31 20:05:56 2013 -0700

    refactoring