Adding JS/CSS code to project

Instead of calling remote sites, deploy the JS and CSS locally. Will
allow HTTPs sites to work properly.

Fixes #521
Fixing notifications for findblocks cron

If disabled, findblocks would still send out notifications.

Thanks @feeleep75 for the heads up.

Fixes #522
Fixing PPLNS target percentages

This should fix #529 with proportional payouts towards the calculated
PPLNS target are off.
Merge pull request #530 from TheSerapher/issue-522

Fixing notifications for findblocks cron
Merge pull request #531 from TheSerapher/issue-521

b
Merge pull request #532 from TheSerapher/issue-529

Fixing PPLNS target percentages
Generate PID name based on script name

Fixes #533
Merge pull request #534 from TheSerapher/issue-533

Generate PID name based on script name
Added Prefix Option to run-crons.sh PID File.

Added configuration option 'PIDPREFIX' to add to PIDFILE name, so it will be unique in a multipool server.
Issue #537
Merge pull request #538 from nicoschtein/issue-537

Issue #537
Removing orphaned credits from Sidebars

This will remove some confusion for users.

Addresses #524
Merge pull request #540 from TheSerapher/issue-524-remove-orphans

Removing orphaned credits from Sidebars
Added ability to pass prefix as an argument when calling script.
Properly overwrite PIDPREFIX via command line argument
Find actual row count without LIMITs applied

Addresses #542
removed line by accident
increased limit back to 30
Added curly brackets to arg vars and removed extra empty arg catcher.
Added BASEPATH and SUBFOLDER configs for PIDFILE

Checks if the path exists, if it does not, it is created, if there is
an error a message is printed with the problematic path.