Merge pull request #356 from akash/master

#1564 - Faris/Akash - added pagination to the advanced search and also added notification of total search results
Suganthi|Kavitha - Advanced search breaks on searching in the second page
FIX - Ashok - Fixed the records being duplicated in intermident connection
FIX - Ashok - Fixed app breaks while creating child record
Akash - #1287/#1575 - initial work for generating and triggering a report