Change test a little
Add todos to javascript
Add tests, mark some as incomplete
Change calculateScaleDimensions to handle crop-option
Calculate aspect-ratio for now only in bestfit=false

This is done because else it's calculating wrong width when width should be fixed