Minor formatting change for Discount module

Made title lowercase for consistency
Reformatted membership description string

Reformatted membership description string
Added parameter to theme_contact_name

Added parameter to theme_contact_name that adds "Member: " prefix if
contact name is being used as page title.
Updated profile_picture.inc.php page title

Updated profile_picture.inc.php to use title form of themed contact
name.
Added direct link to membership edit screen from members table via "Paid Through" dates

To make manually updating "paid through" dates every month easier, made
column date values clickable links directly to the membership record
they're associated with.
Fixed bug in membership save process caused by previous update

Fixed bug introduced by fix in c9842a5
Membership Page Title Formatting

Minor formatting changes
Added missing function to return tool permissions

The main permissions page wasn't picking up the permissions required
for the tool module because that table is populated by a call to each
separate module to return an array of it's permissions, which are then
combined to form the larger table.
Merge branch 'dev'