Ignore return value of run()

It seems that the value returned is not consistend, or we are
missing something here. Anyways, it seems safe enough to assume
that insert-sql works anytime :)
Made createOrFetchActor a static method.

This was done so it can be used as a helper function in
scripts, etc.
Made parseDate a static method.

Did this so it can be used by external scripts.
Add event note in RAD-EAD export, fixes #4419
Cosmetic changes
Complete <unitid> in EAD, fixes #3987

Squashed commit of the following:

commit 44121e291d1df8e4d4b532340329aabbff6eb6ab
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Fri Feb 22 05:50:44 2013 +0100

    Change attributes order in <unitid>

commit 46425ecd1f12e9cda251ee47ba01cbf11cbdcde2
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Fri Feb 22 05:45:08 2013 +0100

    Fix how the repository is taken

commit 2cd7ae9000e896aa00be62a5585d8c9b54fa537a
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Fri Feb 22 05:19:17 2013 +0100

    Find repository in the ancestors
Add <daogrp> to EAD export, fixes #2589

Squashed commit of the following:

commit f40a001566570e326915bcc1eb68b389e1d2cc84
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Feb 20 04:09:51 2013 +0100

    Change href value in daoloc for external digital objects

commit fef85bf9abd879410716190a375ee40c89581110
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Feb 20 03:39:33 2013 +0100

    Add mimeType and id to <daoloc> in EAD export

commit deb395d31635dcb57d38443e221abd089ae6c1d1
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Feb 20 02:55:51 2013 +0100

    Add <daogrp> to EAD export
Added proper creation events to TRIM DIP import.

refs #4574
Roundtripping in EAC maintenanceNotes, fixes #3677

Squashed commit of the following:

commit d3647286209fe488e613ac7893083a3116dde656
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Tue Feb 19 04:37:20 2013 +0100

    Add revisionHistory and maintenanceNotes import

commit a2337b608b0ea387760c4debd2fcc05d06b734c3
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Tue Feb 19 03:51:57 2013 +0100

    Change revisionHistory and maintenanceNotes export
Some fixes in EAD resourceRelation, fixes #4381

Squashed commit of the following:

commit 08c966d1b90588f0af409021ddcc8daa29e1ade3
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Mon Feb 18 06:20:32 2013 +0100

    Add resourceRelation subjectOf import

commit b58c89488e6224a91b5c86eae6d8e888e65183d7
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Mon Feb 18 03:49:37 2013 +0100

    Add resourceRelation subjectOf export

commit fc07aac401f71cf1bc9e5362aedac1aa8664af86
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Mon Feb 18 03:44:06 2013 +0100

commit fc07aac401f71cf1bc9e5362aedac1aa8664af86
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Mon Feb 18 03:44:06 2013 +0100

    Add xlink:role support in resourceRelation xml import

commit d5ef7648a3b81175bf754227accffa6cce9e9f37
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Mon Feb 18 03:34:38 2013 +0100

    Fix wrong attribute in resourceRelation export

commit 9cb5982155477e8013f8b5f4e6e8c985525ab8eb
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Mon Feb 18 03:32:58 2013 +0100

    Add xlink:role attribute to resourceRelation export
DublinCore import/export roundtripping fixes

Fixes #4302. Squashed commit of the following:

commit 4355e53653fd2529dc4c686528284848033f75d4
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Jan 20 07:03:54 2013 +0100

    Add language case for DC languages

commit b0ae02015b4cbe05d4ab97c29e3398b4053870a3
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Jan 20 07:01:23 2013 +0100

    Change how the elements are taking in DC

    Replace XPath query by getElementsByTagName and modify dc.yml,
    where the Xpath condition is replaced by the tag name.
Minor tweak to TRIM DIP date processing.

refs #4754

Added a minor tweak to make ISO 8601 dates easier
to read.
Fix control area in EAC, fixes #4380

Squashed commit of the following:

commit ce0540b5d48013a389e13fb1c6713233a69fd0a8
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 06:47:10 2013 +0100

    Cosmetic changes

commit 3717e34e31eb627f9d7341c5bcb9f5dc413f7584
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 06:46:06 2013 +0100

    Add maintenanceStatus import

commit 3b35f9db6cb38824e12d9d4481eba75c606b2c04
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 06:14:26 2013 +0100

    Fix descriptionStatus export

commit 9f6b0080572b01d12a1405353628991d3b9b4fdd
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 06:01:20 2013 +0100

    Add descriptionDetail import

commit 1b11a3a95637e831f0fd6cf9720be69e5ad630cc
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 05:48:43 2013 +0100

    Fix languages and scripts imports
Update cpfRelation, fixes #4379

Squashed commit of the following:

commit ee50661ad7e56d0e70b5b1ae1a0d11be04df5025
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 05:25:05 2013 +0100

    Cosmetic changes

commit 64af9ab397d5567873e1b97062bd9cdc0fbe1614
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 04:37:13 2013 +0100

    Add cpfRelation descriptiveNote import

commit 2bcf4617def84a2ea288b3a7553aa2f133d016fa
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Sun Feb 17 04:34:38 2013 +0100

    Change cpfRelation link and add description export
Update RAD warnings, fixes #4143

Squashed from Radda's fork.
Minor tweak to TRIM DIP date handling.

refs #4574
Fixed minor issue with date tweaking.

refs #4753
Tweaking TRIM date presentation.
Update .gitignore
Change default dbname