Sanitize decimal values

To replace comma to dot in decimal values as in many European countries
is a standard to use comma. Before it reacted strange to input with
comma.
It was not saved at all or invoice was saved without corresponding item
& product row in MySQL.
Sanitize decimal values also for products

Plus explicit casting to float in function to be more robust.
Aligning

Format only
Allow thousands with comma (no decimals case)

Check three digits and comma from end,
imperial thousands preferred over three continental decimals
CZ branch started - template for Czech invoicing

Initial phase, modified gitignore (settings, Finder invisible files...).
Updated language cs_CZ, login style, hooks.tpl.
Added whole library for QR code generation.
Modified invoice template to produce QR code locally.
Local QR code generation

Added helper for debugging including of QRlib.
Statement rewritten from Smarty to clear PHP.
Allow display PNG files in tmp directory
Add border around QR code
PDF exporting needs bigger memory limit
QR code size in px for better PDF export

Plus keep space in right
Fix column with price & its heading

Also fix total price vertically
Translation string correction – unit_cost & price
Edited & updated CZ translation

Via https://www.transifex.com/projects/p/SimpleInvoices/language/cs_CZ/
Autocalculate date to custom field

Focusin() not possible in jQuery 1.2.
Check type of invoice

Calculate date depending on selected type of the invoice. Invoice type
IDs are defined as fixed and have to be set for the actual installation
of SI. Added some spaces to make JS code better readable.
Check type of invoice - correction

Date is now updated also when clicking or typing to select input for
invoice type. File ftpsync.settings contains password to testing server
(hidden to git).
Ignore OSX Finder files

And ftpsync.settings for Sublime Text
Merge branch 'master' of https://github.com/simpleinvoices/simpleinvoices into master_fixes

Get fixes from Master on simpleinvoices to my master
Merge branch 'master_fixes' into custom_cz

$dbQuery() => dbQuery() fix
Conflicts:
	.gitignore
Updated conflicting .gitignore