Reformat code, replace tabs with spaces
Fixed phpdoc and function now defaults to echo the treaty URL
Removed default argument when call
Added common script to the treaties page
Added link to the treaty index page