Fixed Sites not updating

Fixed issue where the sites were not updating. The DB didn't like null
sites.addresses and sites.capacity. Also, checking the .val() of radio
button:first on do fill sites ddls, and killing two birds with one stone
on the condition of d.Semster.value on getapplication info.