Syntax and Practices Rewrite

* Fix quoting in basic variables
* Use ``curl`` instead of ``wget``
* Clean up ``depends=()`` array
* Clean up ``package()`` function.
  * Use ``install`` instead of ``mkdir``
  * Don't use ``${startdir}``
  * Clean up ``install`` commands