basic casperjs tests

Closes #21
run casperjs tests on travis
test upload
create DB for casperjs tests
load resources
fix tests
makedb has been renamed
add script name
Merge branch 'casper'

Closes #21