fix print bug
add tests
refactor
Squashed commit of the following:

commit 1659a831751e638854338b940aec51beeea287b6
Author: John Lapeyre <john.lapeyre@gmail.com>
Date:   Sun Dec 14 03:56:40 2014 +0100

    added severl tests for matrix multiplication,
    and matrix operations
     On branch refactmatlist
    	modified:   src/abstractperm.jl
    	modified:   src/matlistcommon.jl
    	modified:   src/permallrep.jl
    	modified:   src/permlist.jl
    	modified:   src/permmat.jl
    	modified:   test/permmat_test.jl

commit 49edd89ecd9fc7e323a684645b099b78b2bea002
Author: John Lapeyre <john.lapeyre@gmail.com>
Date:   Sun Dec 14 00:09:37 2014 +0100

    	new file:   test/permmat_test.jl
    	modified:   src/permmat.jl
    	modified:   test/runtests.jl

    	new file:   src/matlistcommon.jl

commit 44ffff6691b553f4ed8907b58eea7874a3689656
Author: John Lapeyre <john.lapeyre@gmail.com>
Date:   Sat Dec 13 23:06:58 2014 +0100

    factor code out and generate it.
     On branch refactmatlist
    	modified:   src/permlist.jl
    	modified:   src/permmat.jl

	new file:   test/permmat_test.jl