Support for limiting sprite size from options

    Switched to Mocha
    Fixed missing documentation
version lock