Jdx integ

hi, 
merged with upstream this afternoon.
main changes :   
   - jdx plotting rendered as partial in show
   - added app configuration option for jdx file processing in application.rb ( here set true  for detect_parameters only)
Additionaly I am logging a few things when detect_parameters encounters jdx files.
 For me I get thing like this:

*******************************************************************************************************
env=localserver
*******************************************************************************************************

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
inspect BEFORE caching

inspect         :/datasets/8/TW_48.dx
class           :AttachmentUploader
file            :#<CarrierWave::SanitizedFile:0x00000006316fe0>
url             :/datasets/8/TW_48.dx
default_url     :
cached?         :
path            :/home/pi/workspace/lsi-rails-prototype/tmp/storage/datasets/8/TW_48.dx
current_path    :/home/pi/workspace/lsi-rails-prototype/tmp/storage/datasets/8/TW_48.dx
cache_name      :
cache_dir       :/home/pi/workspace/lsi-rails-prototype/tmp/upload
<path = cache_dir + cache_name> is FALSE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

now cached

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
inspect AFTER caching

inspect         :/datasets/8/TW_48.dx
class           :AttachmentUploader
file            :#<CarrierWave::SanitizedFile:0x000000061c7068>
url             :/datasets/8/TW_48.dx
default_url     :
cached?         :1400770075-7651-8315
path            :/home/pi/workspace/lsi-rails-prototype/tmp/upload/1400770075-7651-8315/TW_48.dx
current_path    :/home/pi/workspace/lsi-rails-prototype/tmp/upload/1400770075-7651-8315/TW_48.dx
cache_name      :1400770075-7651-8315/TW_48.dx
cache_dir       :/home/pi/workspace/lsi-rails-prototype/tmp/upload
<path = cache_dir + cache_name> is TRUE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


*************************
env=fakes3
**************************

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
inspect BEFORE caching

inspect         :http://dial-a-device.s3.amazonaws.com:10453/datasets/8/blckpkt1.jdx?AWSAccessKeyId=123&Signature=%2B1g%2Bsq45OMpEoRL6GotCcbUV6mk%3D&Expires=1400770879
class           :AttachmentUploader
file            :#<CarrierWave::Storage::Fog::File:0x000000066a7470>
url             :http://dial-a-device.s3.amazonaws.com:10453/datasets/8/blckpkt1.jdx?AWSAccessKeyId=123&Signature=%2B1g%2Bsq45OMpEoRL6GotCcbUV6mk%3D&Expires=1400770879
default_url     :
cached?         :
path            :datasets/8/blckpkt1.jdx
current_path    :datasets/8/blckpkt1.jdx
cache_name      :
cache_dir       :/home/pi/workspace/lsi-rails-prototype/tmp/upload
<path = cache_dir + cache_name> is FALSE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

now cached

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
inspect AFTER caching

inspect         :/home/pi/workspace/lsi-rails-prototype/tmp/upload/1400770279-7919-6661/blckpkt1.jdx
class           :AttachmentUploader
file            :#<CarrierWave::SanitizedFile:0x000000064d7208>
url             :/home/pi/workspace/lsi-rails-prototype/tmp/upload/1400770279-7919-6661/blckpkt1.jdx
default_url     :
cached?         :1400770279-7919-6661
path            :/home/pi/workspace/lsi-rails-prototype/tmp/upload/1400770279-7919-6661/blckpkt1.jdx
current_path    :/home/pi/workspace/lsi-rails-prototype/tmp/upload/1400770279-7919-6661/blckpkt1.jdx
cache_name      :1400770279-7919-6661/blckpkt1.jdx
cache_dir       :/home/pi/workspace/lsi-rails-prototype/tmp/upload
<path = cache_dir + cache_name> is TRUE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

 Cheers