Introduced common/amd/library structure

From https://github.com/josscrowcroft/accounting.js