Filter does not work when table name has spaces

Problem Description:

  When the DataTable name (as defined in the 'name' field of the
  Meta class in tables.py) has blank space, filters defined on that
  table using FilterActions wont work.

Cause:
    -table name is used as the table id in the html
    -the table selector used in the quicksearch plugin has the
     following format:
	 table#<table id> tbody tr

     For example: if the table name specified in the Meta class of
     tables.py is 'foo bar', then the table selector will be:
         table#foo bar tbody tr.

Solution:
    Slugify the table name and use the slug name as the table id
    instead of original table name.

Change-Id: I9d7c0ea3519c8bebb2f1ac5831cb271557908ba9
Closes-Bug: 1311789
Merge "Filter does not work when table name has spaces"