The planning board of Bernards Township, N.J., denied plans to build a mosque due to concerns that there were not enough parking spaces, arguing that mosques needed more parking than churches or synagogues due to different times of worship.