Merge pull request #490 from MartijnR/master

reorganization
Merge pull request #497 from MartijnR/master

fixes for applicationCache with forms that require authentication
fix for JSON conversion not adding repeat nodes for multiple repeat instances to XML, closes #495
rebuilt with fixes for #495
return same subdomain for www and non-www server URLs, closes #493
intermittent commit as a start for changing the way positions are injected (makeBugComplian() function)
tolerate absence of trailing slash in default_bind_path, closes #498
rebuilt drishti js with fix for #498
removed obsolete line
Merge branch 'master' of https://github.com/modilabs/enketo into calculations_inside_repeats
refactored makeBugCompliant to use XML instance instead of HTML to determine positions, also closes #421
finished fix for #493 properly this time
and we have now support for calculations inside repeats! Whoohooo!, closes #494
added test form for right-aligned languages, #499
rebuilt & more awesome
Merge pull request #500 from modilabs/calculations_inside_repeats

Calculations inside repeats + fix for cascading selections inside repeats
Merge pull request #171 from modilabs/master

fixed issue with different variants of same server_url, added support for calculations inside repeats, fixed issue with cascading select inside repeats
Merge pull request #172 from MartijnR/master

fixed issue with different variants of same server_url, added support for calculations inside repeats, fixed issue with cascading select inside repeats