Major change: Array class re-implemented.

Squashed commit of the following:

commit 2d4e61424649a7d4ab48517a3ea7e7550e2fff35
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 15:59:02 2013 +0100

    TMB/examples updated with new array

commit 8d0853627de5525c4382d714eeecac80cbfa65f9
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 15:38:49 2013 +0100

    ups

commit 4ac7adf0cd8727c146d324206558c9f79f4e4844
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 13:44:26 2013 +0100

    sdv_multi example adapted to new array

commit ff7dfc1ae7075bc7febe55ce38cc2ded05febad5
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 13:08:32 2013 +0100

    rw_sparse example modified to new array class

commit 2af5a4f266cf9345c7e8d92d19655dee75a8401f
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 13:07:11 2013 +0100

    density namespace changed to new array class
    -Warning: Not yet tested.

commit 4c2f13d2928e3c7a720af0fa1cd006edbcf2cd6e
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 09:14:47 2013 +0100

    rw example working with new array

commit 68bcfeeacad431a310cdcce1b031f174f5f240d0
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sun Nov 3 09:02:48 2013 +0100

    Array reimplementation

commit cc22a7af48f714c5abaf58bac512426c7676a3c3
Author: Kasper Kristensen <kaskr@imm.dtu.dk>
Date:   Sat Nov 2 08:01:28 2013 +0100

    Add missing expected output - before major array change